Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/netinet6/
Dsctp6_usrreq.c182 uint32_t next_mtu) in sctp6_notify() argument
227 next_mtu -= sizeof(struct udphdr); in sctp6_notify()
229 if (net->mtu > next_mtu) { in sctp6_notify()
230 net->mtu = next_mtu; in sctp6_notify()
232 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp6_notify()
234 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp6_notify()
238 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp6_notify()
239 sctp_pathmtu_adjustment(stcb, next_mtu); in sctp6_notify()
/freebsd-12-stable/sys/netinet/
Dsctp_timer.c1473 uint32_t next_mtu, mtu; in sctp_pathmtu_timer() local
1475 next_mtu = sctp_get_next_mtu(net->mtu); in sctp_pathmtu_timer()
1477 if ((next_mtu > net->mtu) && (net->port == 0)) { in sctp_pathmtu_timer()
1517 if (mtu > next_mtu) { in sctp_pathmtu_timer()
1518 net->mtu = next_mtu; in sctp_pathmtu_timer()
Dsctp_usrreq.c163 uint32_t next_mtu) in sctp_notify() argument
203 if (next_mtu == 0) { in sctp_notify()
209 next_mtu = sctp_get_prev_mtu(ip_len); in sctp_notify()
221 next_mtu -= sizeof(struct udphdr); in sctp_notify()
223 if (net->mtu > next_mtu) { in sctp_notify()
224 net->mtu = next_mtu; in sctp_notify()
226 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp_notify()
228 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp_notify()
232 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp_notify()
233 sctp_pathmtu_adjustment(stcb, next_mtu); in sctp_notify()