Searched refs:hb_info (Results 1 – 3 of 3) sorted by relevance
632 switch (cp->heartbeat.hb_info.addr_family) { in sctp_handle_heartbeat_ack()635 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in)) { in sctp_handle_heartbeat_ack()636 store.sin.sin_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()638 store.sin.sin_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()641 memcpy(&store.sin.sin_addr, cp->heartbeat.hb_info.address, in sctp_handle_heartbeat_ack()650 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in6)) { in sctp_handle_heartbeat_ack()651 store.sin6.sin6_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()653 store.sin6.sin6_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()656 memcpy(&store.sin6.sin6_addr, cp->heartbeat.hb_info.address, sizeof(struct in6_addr)); in sctp_handle_heartbeat_ack()664 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_conn)) { in sctp_handle_heartbeat_ack()[all …]
303 struct sctp_heartbeat_info_param hb_info; member
12092 hb->heartbeat.hb_info.ph.param_type = htons(SCTP_HEARTBEAT_INFO);12093 hb->heartbeat.hb_info.ph.param_length = htons(sizeof(struct sctp_heartbeat_info_param));12094 hb->heartbeat.hb_info.time_value_1 = now.tv_sec;12095 hb->heartbeat.hb_info.time_value_2 = now.tv_usec;12097 hb->heartbeat.hb_info.addr_family = (uint8_t)net->ro._l_addr.sa.sa_family;12099 hb->heartbeat.hb_info.addr_len = net->ro._l_addr.sa.sa_len;12104 hb->heartbeat.hb_info.addr_len = sizeof(struct sockaddr_in);12109 hb->heartbeat.hb_info.addr_len = sizeof(struct sockaddr_in6);12114 hb->heartbeat.hb_info.addr_len = sizeof(struct sockaddr_conn);12118 hb->heartbeat.hb_info.addr_len = 0;[all …]