Searched refs:hb_info (Results 1 – 3 of 3) sorted by relevance
276 struct sctp_heartbeat_info_param hb_info; member
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()611 (r_net->heartbeat_random1 == cp->heartbeat.hb_info.random_value1) && in sctp_handle_heartbeat_ack()651 tv.tv_sec = cp->heartbeat.hb_info.time_value_1; in sctp_handle_heartbeat_ack()[all …]
11314 hb->heartbeat.hb_info.ph.param_type = htons(SCTP_HEARTBEAT_INFO); in sctp_send_hb()11315 hb->heartbeat.hb_info.ph.param_length = htons(sizeof(struct sctp_heartbeat_info_param)); in sctp_send_hb()11316 hb->heartbeat.hb_info.time_value_1 = now.tv_sec; in sctp_send_hb()11317 hb->heartbeat.hb_info.time_value_2 = now.tv_usec; in sctp_send_hb()11319 hb->heartbeat.hb_info.addr_family = (uint8_t)net->ro._l_addr.sa.sa_family; in sctp_send_hb()11320 hb->heartbeat.hb_info.addr_len = net->ro._l_addr.sa.sa_len; in sctp_send_hb()11326 …net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp… in sctp_send_hb()11329 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0; in sctp_send_hb()11330 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = 0; in sctp_send_hb()11335 memcpy(hb->heartbeat.hb_info.address, in sctp_send_hb()[all …]