Searched refs:hb_info (Results 1 – 3 of 3) sorted by relevance
420 if (cp->heartbeat.hb_info.addr_family == AF_INET && in sctp_handle_heartbeat_ack()421 cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in)) { in sctp_handle_heartbeat_ack()422 sin->sin_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()423 sin->sin_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()425 memcpy(&sin->sin_addr, cp->heartbeat.hb_info.address, in sctp_handle_heartbeat_ack()427 } else if (cp->heartbeat.hb_info.addr_family == AF_INET6 && in sctp_handle_heartbeat_ack()428 cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in6)) { in sctp_handle_heartbeat_ack()429 sin6->sin6_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()430 sin6->sin6_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()432 memcpy(&sin6->sin6_addr, cp->heartbeat.hb_info.address, in sctp_handle_heartbeat_ack()[all …]
250 struct sctp_heartbeat_info_param hb_info; member
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…8360 …net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp…8362 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0;[all …]