Searched refs:hb_info (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/netinet/
H A Dsctp_header.h282 struct sctp_heartbeat_info_param hb_info; member in struct:sctp_heartbeat
H A Dsctp_input.c582 switch (cp->heartbeat.hb_info.addr_family) {
585 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in)) {
586 store.sin.sin_family = cp->heartbeat.hb_info.addr_family;
587 store.sin.sin_len = cp->heartbeat.hb_info.addr_len;
589 memcpy(&store.sin.sin_addr, cp->heartbeat.hb_info.address,
598 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in6)) {
599 store.sin6.sin6_family = cp->heartbeat.hb_info.addr_family;
600 store.sin6.sin6_len = cp->heartbeat.hb_info.addr_len;
602 memcpy(&store.sin6.sin6_addr, cp->heartbeat.hb_info.address, sizeof(struct in6_addr));
617 (r_net->heartbeat_random1 == cp->heartbeat.hb_info
[all...]
H A Dsctp_output.c11410 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
[all...]

Completed in 186 milliseconds