Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet6/
H A Dsctp6_usrreq.c179 uint32_t next_mtu) in sctp6_notify() argument
224 next_mtu -= sizeof(struct udphdr); in sctp6_notify()
226 if (net->mtu > next_mtu) { in sctp6_notify()
227 net->mtu = next_mtu; in sctp6_notify()
229 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp6_notify()
231 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp6_notify()
235 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp6_notify()
236 sctp_pathmtu_adjustment(stcb, next_mtu); in sctp6_notify()
/f-stack/freebsd/netinet/
H A Dsctp_timer.c1479 uint32_t next_mtu, mtu; in sctp_pathmtu_timer() local
1481 next_mtu = sctp_get_next_mtu(net->mtu); in sctp_pathmtu_timer()
1483 if ((next_mtu > net->mtu) && (net->port == 0)) { in sctp_pathmtu_timer()
1523 if (mtu > next_mtu) { in sctp_pathmtu_timer()
1524 net->mtu = next_mtu; in sctp_pathmtu_timer()
H A Dsctp_usrreq.c162 uint32_t next_mtu) in sctp_notify() argument
202 if (next_mtu == 0) { in sctp_notify()
208 next_mtu = sctp_get_prev_mtu(ip_len); in sctp_notify()
220 next_mtu -= sizeof(struct udphdr); in sctp_notify()
222 if (net->mtu > next_mtu) { in sctp_notify()
223 net->mtu = next_mtu; in sctp_notify()
225 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp_notify()
227 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp_notify()
231 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp_notify()
232 sctp_pathmtu_adjustment(stcb, next_mtu); in sctp_notify()