Home
last modified time | relevance | path

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

/linux/net/sctp/
H A Dsm_make_chunk.c1158 struct sctp_sender_hb_info hbinfo = {}; in sctp_make_heartbeat() local
1162 sizeof(hbinfo), GFP_ATOMIC); in sctp_make_heartbeat()
1167 hbinfo.param_hdr.type = SCTP_PARAM_HEARTBEAT_INFO; in sctp_make_heartbeat()
1168 hbinfo.param_hdr.length = htons(sizeof(hbinfo)); in sctp_make_heartbeat()
1169 hbinfo.daddr = transport->ipaddr; in sctp_make_heartbeat()
1170 hbinfo.sent_at = jiffies; in sctp_make_heartbeat()
1171 hbinfo.hb_nonce = transport->hb_nonce; in sctp_make_heartbeat()
1172 hbinfo.probe_size = probe_size; in sctp_make_heartbeat()
1178 retval->subh.hbs_hdr = sctp_addto_chunk(retval, sizeof(hbinfo), in sctp_make_heartbeat()
1179 &hbinfo); in sctp_make_heartbeat()
H A Dsm_statefuns.c1247 struct sctp_sender_hb_info *hbinfo; in sctp_sf_backbeat_8_3() local
1258 sizeof(*hbinfo))) in sctp_sf_backbeat_8_3()
1262 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_sf_backbeat_8_3()
1264 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3()
1267 from_addr = hbinfo->daddr; in sctp_sf_backbeat_8_3()
1287 if (hbinfo->hb_nonce != link->hb_nonce) in sctp_sf_backbeat_8_3()
1290 if (hbinfo->probe_size) { in sctp_sf_backbeat_8_3()
1291 if (hbinfo->probe_size != link->pl.probe_size || in sctp_sf_backbeat_8_3()
1304 if (time_after(hbinfo->sent_at, jiffies) || in sctp_sf_backbeat_8_3()
1305 time_after(jiffies, hbinfo->sent_at + max_interval)) { in sctp_sf_backbeat_8_3()
H A Dsm_sideeffect.c768 struct sctp_sender_hb_info *hbinfo; in sctp_cmd_transport_on() local
822 hbinfo = (struct sctp_sender_hb_info *)chunk->skb->data; in sctp_cmd_transport_on()
823 sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at)); in sctp_cmd_transport_on()