Searched refs:hb_info (Results 1 – 3 of 3) sorted by relevance
576 switch (cp->heartbeat.hb_info.addr_family) { in sctp_handle_heartbeat_ack()579 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in)) { in sctp_handle_heartbeat_ack()580 store.sin.sin_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()581 store.sin.sin_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()583 memcpy(&store.sin.sin_addr, cp->heartbeat.hb_info.address, in sctp_handle_heartbeat_ack()592 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in6)) { in sctp_handle_heartbeat_ack()593 store.sin6.sin6_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()594 store.sin6.sin6_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()596 memcpy(&store.sin6.sin6_addr, cp->heartbeat.hb_info.address, sizeof(struct in6_addr)); in sctp_handle_heartbeat_ack()611 (r_net->heartbeat_random1 == cp->heartbeat.hb_info.random_value1) && in sctp_handle_heartbeat_ack()[all …]
294 struct sctp_heartbeat_info_param hb_info; member
11206 hb->heartbeat.hb_info.ph.param_type = htons(SCTP_HEARTBEAT_INFO); in sctp_send_hb()11207 hb->heartbeat.hb_info.ph.param_length = htons(sizeof(struct sctp_heartbeat_info_param)); in sctp_send_hb()11208 hb->heartbeat.hb_info.time_value_1 = now.tv_sec; in sctp_send_hb()11209 hb->heartbeat.hb_info.time_value_2 = now.tv_usec; in sctp_send_hb()11211 hb->heartbeat.hb_info.addr_family = (uint8_t) net->ro._l_addr.sa.sa_family; in sctp_send_hb()11212 hb->heartbeat.hb_info.addr_len = net->ro._l_addr.sa.sa_len; in sctp_send_hb()11218 …net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp… in sctp_send_hb()11219 …net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp… in sctp_send_hb()11221 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0; in sctp_send_hb()11222 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = 0; in sctp_send_hb()[all …]