Home | History | Annotate | Download | only in netinet

Lines Matching defs:hb

5555 						 * set hb flag since we can use
5622 printf("Update HB anyway\n");
5652 /* Only HB or ASCONF advances time */
5901 printf("Update HB time anyway\n");
5932 /* For data/asconf and hb set time */
6122 /* take a HB request and make it into a
6123 * HB ack and send it.
6568 * we use this for HB and retrans cannot measure RTT
6759 /* For HB's */
6762 * this we use this for HB and retrans cannot measure
6915 * output once. this assures that we WILL send HB's
8165 /* Skip this guy from consideration if HB is off AND its confirmed*/
8197 * HB at a higher rate. Once it goes confirmed OR reaches the "unreachable"
8198 * state, then we cut it back to HB at a more normal pace.
8232 printf("net:%p is the hb winner -",
8244 /* Nothing to HB */
8253 struct sctp_heartbeat_chunk *hb;
8313 printf("Gak, can't get a chunk for hb\n");
8340 hb = mtod(chk->data, struct sctp_heartbeat_chunk *);
8343 hb->ch.chunk_type = SCTP_HEARTBEAT_REQUEST;
8344 hb->ch.chunk_flags = 0;
8345 hb->ch.chunk_length = htons(chk->send_size);
8346 /* Fill out hb parameter */
8347 hb->heartbeat.hb_info.ph.param_type = htons(SCTP_HEARTBEAT_INFO);
8348 hb->heartbeat.hb_info.ph.param_length = htons(sizeof(struct sctp_heartbeat_info_param));
8349 hb->heartbeat.hb_info.time_value_1 = now.tv_sec;
8350 hb->heartbeat.hb_info.time_value_2 = now.tv_usec;
8352 hb->heartbeat.hb_info.user_req = user_req;
8353 hb->heartbeat.hb_info.addr_family = sin->sin_family;
8354 hb->heartbeat.hb_info.addr_len = sin->sin_len;
8359 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
8360 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
8362 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0;
8363 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = 0;
8366 memcpy(hb->heartbeat.hb_info.address, &sin->sin_addr, sizeof(sin->sin_addr));
8370 memcpy(hb->heartbeat.hb_info.address, &sin6->sin6_addr, sizeof(sin6->sin6_addr));
8405 printf("Inserting chunk for HB\n");
8413 * always tumble out control chunks aka HB but it may even tumble
8417 /* Ok now lets start the HB timer if it is NOT a user req */