Lines Matching defs:hb
8178 * set hb flag since we can use these for
8842 /* For data/asconf and hb set time */
11376 struct sctp_heartbeat_chunk *hb;
11398 SCTPDBG(SCTP_DEBUG_OUTPUT4, "Gak, can't get a chunk for hb\n");
11421 hb = mtod(chk->data, struct sctp_heartbeat_chunk *);
11422 memset(hb, 0, sizeof(struct sctp_heartbeat_chunk));
11424 hb->ch.chunk_type = SCTP_HEARTBEAT_REQUEST;
11425 hb->ch.chunk_flags = 0;
11426 hb->ch.chunk_length = htons(chk->send_size);
11427 /* Fill out hb parameter */
11428 hb->heartbeat.hb_info.ph.param_type = htons(SCTP_HEARTBEAT_INFO);
11429 hb->heartbeat.hb_info.ph.param_length = htons(sizeof(struct sctp_heartbeat_info_param));
11430 hb->heartbeat.hb_info.time_value_1 = now.tv_sec;
11431 hb->heartbeat.hb_info.time_value_2 = now.tv_usec;
11433 hb->heartbeat.hb_info.addr_family = (uint8_t)net->ro._l_addr.sa.sa_family;
11434 hb->heartbeat.hb_info.addr_len = net->ro._l_addr.sa.sa_len;
11440 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
11441 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
11443 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0;
11444 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = 0;
11449 memcpy(hb->heartbeat.hb_info.address,
11456 memcpy(hb->heartbeat.hb_info.address,