Home
last modified time | relevance | path

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

/freebsd/sys/netinet6/
H A Dsctp6_usrreq.c176 uint32_t next_mtu) in sctp6_notify() argument
221 next_mtu -= sizeof(struct udphdr); in sctp6_notify()
223 if (net->mtu > next_mtu) { in sctp6_notify()
224 net->mtu = next_mtu; in sctp6_notify()
226 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp6_notify()
228 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp6_notify()
232 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp6_notify()
233 sctp_pathmtu_adjustment(stcb, next_mtu, true); in sctp6_notify()
/freebsd/sys/netinet/
H A Dsctp_timer.c1472 uint32_t next_mtu, mtu; in sctp_pathmtu_timer() local
1474 next_mtu = sctp_get_next_mtu(net->mtu); in sctp_pathmtu_timer()
1476 if ((next_mtu > net->mtu) && (net->port == 0)) { in sctp_pathmtu_timer()
1516 if (mtu > next_mtu) { in sctp_pathmtu_timer()
1517 net->mtu = next_mtu; in sctp_pathmtu_timer()
H A Dsctp_usrreq.c177 uint32_t next_mtu) in sctp_notify() argument
217 if (next_mtu == 0) { in sctp_notify()
223 next_mtu = sctp_get_prev_mtu(ip_len); in sctp_notify()
235 next_mtu -= sizeof(struct udphdr); in sctp_notify()
237 if (net->mtu > next_mtu) { in sctp_notify()
238 net->mtu = next_mtu; in sctp_notify()
240 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp_notify()
242 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp_notify()
246 if (stcb->asoc.smallest_mtu > next_mtu) { in sctp_notify()
247 sctp_pathmtu_adjustment(stcb, next_mtu, true); in sctp_notify()