Home
last modified time | relevance | path

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

/Linux-v5.10/net/sctp/
Dsm_make_chunk.c1149 struct sctp_sender_hb_info hbinfo; in sctp_make_heartbeat() local
1153 sizeof(hbinfo), GFP_ATOMIC); in sctp_make_heartbeat()
1158 hbinfo.param_hdr.type = SCTP_PARAM_HEARTBEAT_INFO; in sctp_make_heartbeat()
1159 hbinfo.param_hdr.length = htons(sizeof(hbinfo)); in sctp_make_heartbeat()
1160 hbinfo.daddr = transport->ipaddr; in sctp_make_heartbeat()
1161 hbinfo.sent_at = jiffies; in sctp_make_heartbeat()
1162 hbinfo.hb_nonce = transport->hb_nonce; in sctp_make_heartbeat()
1168 retval->subh.hbs_hdr = sctp_addto_chunk(retval, sizeof(hbinfo), in sctp_make_heartbeat()
1169 &hbinfo); in sctp_make_heartbeat()
Dsm_statefuns.c1196 struct sctp_sender_hb_info *hbinfo; in sctp_sf_backbeat_8_3() local
1207 sizeof(*hbinfo))) in sctp_sf_backbeat_8_3()
1211 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_sf_backbeat_8_3()
1213 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3()
1216 from_addr = hbinfo->daddr; in sctp_sf_backbeat_8_3()
1236 if (hbinfo->hb_nonce != link->hb_nonce) in sctp_sf_backbeat_8_3()
1242 if (time_after(hbinfo->sent_at, jiffies) || in sctp_sf_backbeat_8_3()
1243 time_after(jiffies, hbinfo->sent_at + max_interval)) { in sctp_sf_backbeat_8_3()
Dsm_sideeffect.c726 struct sctp_sender_hb_info *hbinfo; in sctp_cmd_transport_on() local
780 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_cmd_transport_on()
781 sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at)); in sctp_cmd_transport_on()