Home
last modified time | relevance | path

Searched refs:hbinfo (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/net/sctp/
Dsm_make_chunk.c1153 struct sctp_sender_hb_info hbinfo; in sctp_make_heartbeat() local
1157 sizeof(hbinfo), GFP_ATOMIC); in sctp_make_heartbeat()
1162 hbinfo.param_hdr.type = SCTP_PARAM_HEARTBEAT_INFO; in sctp_make_heartbeat()
1163 hbinfo.param_hdr.length = htons(sizeof(hbinfo)); in sctp_make_heartbeat()
1164 hbinfo.daddr = transport->ipaddr; in sctp_make_heartbeat()
1165 hbinfo.sent_at = jiffies; in sctp_make_heartbeat()
1166 hbinfo.hb_nonce = transport->hb_nonce; in sctp_make_heartbeat()
1172 retval->subh.hbs_hdr = sctp_addto_chunk(retval, sizeof(hbinfo), in sctp_make_heartbeat()
1173 &hbinfo); in sctp_make_heartbeat()
Dsm_statefuns.c1201 struct sctp_sender_hb_info *hbinfo; in sctp_sf_backbeat_8_3() local
1212 sizeof(*hbinfo))) in sctp_sf_backbeat_8_3()
1216 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_sf_backbeat_8_3()
1218 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3()
1221 from_addr = hbinfo->daddr; in sctp_sf_backbeat_8_3()
1241 if (hbinfo->hb_nonce != link->hb_nonce) in sctp_sf_backbeat_8_3()
1247 if (time_after(hbinfo->sent_at, jiffies) || in sctp_sf_backbeat_8_3()
1248 time_after(jiffies, hbinfo->sent_at + max_interval)) { in sctp_sf_backbeat_8_3()
Dsm_sideeffect.c738 struct sctp_sender_hb_info *hbinfo; in sctp_cmd_transport_on() local
792 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_cmd_transport_on()
793 sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at)); in sctp_cmd_transport_on()