Searched refs:hb_info (Results 1 – 3 of 3) sorted by relevance
545 switch (cp->heartbeat.hb_info.addr_family) { in sctp_handle_heartbeat_ack()548 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in)) { in sctp_handle_heartbeat_ack()549 store.sin.sin_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()550 store.sin.sin_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()552 memcpy(&store.sin.sin_addr, cp->heartbeat.hb_info.address, in sctp_handle_heartbeat_ack()561 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_in6)) { in sctp_handle_heartbeat_ack()562 store.sin6.sin6_family = cp->heartbeat.hb_info.addr_family; in sctp_handle_heartbeat_ack()563 store.sin6.sin6_len = cp->heartbeat.hb_info.addr_len; in sctp_handle_heartbeat_ack()565 memcpy(&store.sin6.sin6_addr, cp->heartbeat.hb_info.address, sizeof(struct in6_addr)); in sctp_handle_heartbeat_ack()580 (r_net->heartbeat_random1 == cp->heartbeat.hb_info.random_value1) && in sctp_handle_heartbeat_ack()[all …]
274 struct sctp_heartbeat_info_param hb_info; member
11426 hb->heartbeat.hb_info.ph.param_type = htons(SCTP_HEARTBEAT_INFO); in sctp_send_hb()11427 hb->heartbeat.hb_info.ph.param_length = htons(sizeof(struct sctp_heartbeat_info_param)); in sctp_send_hb()11428 hb->heartbeat.hb_info.time_value_1 = now.tv_sec; in sctp_send_hb()11429 hb->heartbeat.hb_info.time_value_2 = now.tv_usec; in sctp_send_hb()11431 hb->heartbeat.hb_info.addr_family = (uint8_t)net->ro._l_addr.sa.sa_family; in sctp_send_hb()11432 hb->heartbeat.hb_info.addr_len = net->ro._l_addr.sa.sa_len; in sctp_send_hb()11438 …net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp… in sctp_send_hb()11439 …net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp… in sctp_send_hb()11441 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0; in sctp_send_hb()11442 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = 0; in sctp_send_hb()[all …]