Searched refs:hbinfo (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/net/sctp/ |
H A D | sm_make_chunk.c | 1166 struct sctp_sender_hb_info hbinfo = {}; in sctp_make_heartbeat() local 1170 sizeof(hbinfo), GFP_ATOMIC); in sctp_make_heartbeat() 1175 hbinfo.param_hdr.type = SCTP_PARAM_HEARTBEAT_INFO; in sctp_make_heartbeat() 1176 hbinfo.param_hdr.length = htons(sizeof(hbinfo)); in sctp_make_heartbeat() 1177 hbinfo.daddr = transport->ipaddr; in sctp_make_heartbeat() 1178 hbinfo.sent_at = jiffies; in sctp_make_heartbeat() 1179 hbinfo.hb_nonce = transport->hb_nonce; in sctp_make_heartbeat() 1180 hbinfo.probe_size = probe_size; in sctp_make_heartbeat() 1186 retval->subh.hbs_hdr = sctp_addto_chunk(retval, sizeof(hbinfo), in sctp_make_heartbeat() [all...] |
H A D | sm_sideeffect.c | 762 struct sctp_sender_hb_info *hbinfo; in sctp_cmd_transport_on() local 816 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_cmd_transport_on() 817 sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at)); in sctp_cmd_transport_on()
|
H A D | sm_statefuns.c | 1244 struct sctp_sender_hb_info *hbinfo; in sctp_sf_backbeat_8_3() local 1255 sizeof(*hbinfo))) in sctp_sf_backbeat_8_3() 1259 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_sf_backbeat_8_3() 1261 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3() 1264 from_addr = hbinfo->daddr; in sctp_sf_backbeat_8_3() 1284 if (hbinfo->hb_nonce != link->hb_nonce) in sctp_sf_backbeat_8_3() 1287 if (hbinfo->probe_size) { in sctp_sf_backbeat_8_3() 1288 if (hbinfo->probe_size != link->pl.probe_size || in sctp_sf_backbeat_8_3() 1301 if (time_after(hbinfo in sctp_sf_backbeat_8_3() [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | sm_make_chunk.c | 1149 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() [all...] |
H A D | sm_sideeffect.c | 730 struct sctp_sender_hb_info *hbinfo; in sctp_cmd_transport_on() local 784 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_cmd_transport_on() 785 sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at)); in sctp_cmd_transport_on()
|
H A D | sm_statefuns.c | 1206 struct sctp_sender_hb_info *hbinfo; in sctp_sf_backbeat_8_3() local 1217 sizeof(*hbinfo))) in sctp_sf_backbeat_8_3() 1221 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_sf_backbeat_8_3() 1223 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3() 1226 from_addr = hbinfo->daddr; in sctp_sf_backbeat_8_3() 1246 if (hbinfo->hb_nonce != link->hb_nonce) in sctp_sf_backbeat_8_3() 1252 if (time_after(hbinfo->sent_at, jiffies) || in sctp_sf_backbeat_8_3() 1253 time_after(jiffies, hbinfo->sent_at + max_interval)) { in sctp_sf_backbeat_8_3()
|
Completed in 20 milliseconds