Home
last modified time | relevance | path

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

/freebsd-12.1/sys/netinet6/
H A Dsctp6_usrreq.c180 uint32_t next_mtu) in sctp6_notify() argument
239 next_mtu -= sizeof(struct udphdr); in sctp6_notify()
241 if (net->mtu > next_mtu) { in sctp6_notify()
242 net->mtu = next_mtu; in sctp6_notify()
245 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp6_notify()
246 sctp_pathmtu_adjustment(stcb, next_mtu); in sctp6_notify()
/freebsd-12.1/sys/netinet/
H A Dsctp_timer.c1466 uint32_t next_mtu, mtu; in sctp_pathmtu_timer() local
1468 next_mtu = sctp_get_next_mtu(net->mtu); in sctp_pathmtu_timer()
1470 if ((next_mtu > net->mtu) && (net->port == 0)) { in sctp_pathmtu_timer()
1510 if (mtu > next_mtu) { in sctp_pathmtu_timer()
1511 net->mtu = next_mtu; in sctp_pathmtu_timer()
H A Dsctp_usrreq.c157 uint32_t next_mtu) in sctp_notify() argument
212 if (next_mtu == 0) { in sctp_notify()
218 next_mtu = sctp_get_prev_mtu(ip_len); in sctp_notify()
230 next_mtu -= sizeof(struct udphdr); in sctp_notify()
232 if (net->mtu > next_mtu) { in sctp_notify()
233 net->mtu = next_mtu; in sctp_notify()
235 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp_notify()
237 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp_notify()
241 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp_notify()
242 sctp_pathmtu_adjustment(stcb, next_mtu); in sctp_notify()