Searched refs:maxmtu (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/sys/netinet6/ |
| H A D | nd6.h | 68 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member 100 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \ 101 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu)) 188 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
|
| H A D | nd6_rtr.c | 392 u_long maxmtu; in nd6_ra_input() local 405 maxmtu = (ndi->maxmtu && ndi->maxmtu < ifp->if_mtu) in nd6_ra_input() 406 ? ndi->maxmtu : ifp->if_mtu; in nd6_ra_input() 407 if (mtu <= maxmtu) { in nd6_ra_input() 420 mtu, ip6_sprintf(ip6bufs, &ip6->ip6_src), maxmtu)); in nd6_ra_input()
|
| H A D | nd6.c | 335 omaxmtu = ndi->maxmtu; in nd6_setmtu0() 336 ndi->maxmtu = ifp->if_mtu; in nd6_setmtu0() 344 if (omaxmtu >= IPV6_MMTU && ndi->maxmtu < IPV6_MMTU) { in nd6_setmtu0() 347 if_name(ifp), (unsigned long)ndi->maxmtu); in nd6_setmtu0() 350 if (ndi->maxmtu > V_in6_maxmtu) in nd6_setmtu0() 1637 ND.maxmtu = ND_IFINFO(ifp)->maxmtu; in nd6_ioctl()
|
| H A D | in6.c | 1964 unsigned long maxmtu = 0; in in6_setmaxmtu() local 1973 IN6_LINKMTU(ifp) > maxmtu) in in6_setmaxmtu() 1974 maxmtu = IN6_LINKMTU(ifp); in in6_setmaxmtu() 1977 if (maxmtu) /* update only when maxmtu is positive */ in in6_setmaxmtu() 1978 V_in6_maxmtu = maxmtu; in in6_setmaxmtu()
|
| /freebsd-12.1/usr.sbin/ppp/ |
| H A D | lcp.c | 669 u_short mru, phmtu, maxmtu, maxmru, wantmtu, wantmru, proto; in LcpDecodeConfig() local 752 maxmtu = p ? physical_DeviceMTU(p) : 0; in LcpDecodeConfig() 753 if (lcp->cfg.max_mtu && (!maxmtu || maxmtu > lcp->cfg.max_mtu)) in LcpDecodeConfig() 754 maxmtu = lcp->cfg.max_mtu; in LcpDecodeConfig() 756 if (maxmtu && wantmtu > maxmtu) { in LcpDecodeConfig() 758 fp->link->name, wantmtu, maxmtu); in LcpDecodeConfig() 759 wantmtu = maxmtu; in LcpDecodeConfig() 762 if (maxmtu && mru > maxmtu) { in LcpDecodeConfig() 763 lcp->his_mru = maxmtu; in LcpDecodeConfig()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | tcp_input.c | 3563 uint32_t maxmtu = 0; in tcp_mss_update() local 3602 if (maxmtu == 0) { in tcp_mss_update() 3654 mss = maxmtu - min_protoh; in tcp_mss_update() 3665 mss = maxmtu - min_protoh; in tcp_mss_update() 3787 uint32_t maxmtu = 0; in tcp_mssopt() local 3795 maxmtu = tcp_maxmtu6(inc, NULL); in tcp_mssopt() 3805 maxmtu = tcp_maxmtu(inc, NULL); in tcp_mssopt() 3813 if (maxmtu && thcmtu) in tcp_mssopt() 3814 mss = min(maxmtu, thcmtu) - min_protoh; in tcp_mssopt() 3815 else if (maxmtu || thcmtu) in tcp_mssopt() [all …]
|
| H A D | tcp_subr.c | 2855 uint32_t maxmtu = 0; in tcp_maxmtu() local 2866 maxmtu = nh4.nh_mtu; in tcp_maxmtu() 2880 return (maxmtu); in tcp_maxmtu() 2892 uint32_t maxmtu = 0; in tcp_maxmtu6() local 2906 maxmtu = nh6.nh_mtu; in tcp_maxmtu6() 2921 return (maxmtu); in tcp_maxmtu6()
|
| /freebsd-12.1/usr.sbin/ndp/ |
| H A D | ndp.c | 995 printf(", maxmtu=%d", ND.maxmtu); in ifinfo()
|