Lines Matching defs:hb
8203 * set hb flag since we can use these for
8843 /* For data/asconf and hb set time */
11358 struct sctp_heartbeat_chunk *hb;
11380 SCTPDBG(SCTP_DEBUG_OUTPUT4, "Gak, can't get a chunk for hb\n");
11403 hb = mtod(chk->data, struct sctp_heartbeat_chunk *);
11404 memset(hb, 0, sizeof(struct sctp_heartbeat_chunk));
11406 hb->ch.chunk_type = SCTP_HEARTBEAT_REQUEST;
11407 hb->ch.chunk_flags = 0;
11408 hb->ch.chunk_length = htons(chk->send_size);
11409 /* Fill out hb parameter */
11410 hb->heartbeat.hb_info.ph.param_type = htons(SCTP_HEARTBEAT_INFO);
11411 hb->heartbeat.hb_info.ph.param_length = htons(sizeof(struct sctp_heartbeat_info_param));
11412 hb->heartbeat.hb_info.time_value_1 = now.tv_sec;
11413 hb->heartbeat.hb_info.time_value_2 = now.tv_usec;
11415 hb->heartbeat.hb_info.addr_family = (uint8_t)net->ro._l_addr.sa.sa_family;
11416 hb->heartbeat.hb_info.addr_len = net->ro._l_addr.sa.sa_len;
11422 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
11423 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
11425 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0;
11426 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = 0;
11431 memcpy(hb->heartbeat.hb_info.address,
11438 memcpy(hb->heartbeat.hb_info.address,