Home
last modified time | relevance | path

Searched refs:maxmtu (Results 1 – 8 of 8) sorted by relevance

/trueos/sys/netinet6/
HDnd6.h66 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
102 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \
103 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
190 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
HDnd6.c240 omaxmtu = ndi->maxmtu; in nd6_setmtu0()
244 ndi->maxmtu = MIN(ARC_PHDS_MAXMTU, ifp->if_mtu); /* RFC2497 */ in nd6_setmtu0()
247 ndi->maxmtu = MIN(FDDIIPMTU, ifp->if_mtu); /* RFC2467 */ in nd6_setmtu0()
250 ndi->maxmtu = MIN(ISO88025_MAX_MTU, ifp->if_mtu); in nd6_setmtu0()
253 ndi->maxmtu = ifp->if_mtu; in nd6_setmtu0()
263 if (omaxmtu >= IPV6_MMTU && ndi->maxmtu < IPV6_MMTU) { in nd6_setmtu0()
266 if_name(ifp), (unsigned long)ndi->maxmtu); in nd6_setmtu0()
269 if (ndi->maxmtu > V_in6_maxmtu) in nd6_setmtu0()
1347 ND.maxmtu = ND_IFINFO(ifp)->maxmtu; in nd6_ioctl()
HDnd6_rtr.c376 u_long maxmtu; in nd6_ra_input() local
389 maxmtu = (ndi->maxmtu && ndi->maxmtu < ifp->if_mtu) in nd6_ra_input()
390 ? ndi->maxmtu : ifp->if_mtu; in nd6_ra_input()
391 if (mtu <= maxmtu) { in nd6_ra_input()
401 mtu, ip6_sprintf(ip6bufs, &ip6->ip6_src), maxmtu)); in nd6_ra_input()
HDin6.c2413 unsigned long maxmtu = 0; in in6_setmaxmtu() local
2422 IN6_LINKMTU(ifp) > maxmtu) in in6_setmaxmtu()
2423 maxmtu = IN6_LINKMTU(ifp); in in6_setmaxmtu()
2426 if (maxmtu) /* update only when maxmtu is positive */ in in6_setmaxmtu()
2427 V_in6_maxmtu = maxmtu; in in6_setmaxmtu()
/trueos/usr.sbin/ppp/
HDlcp.c667 u_short mru, phmtu, maxmtu, maxmru, wantmtu, wantmru, proto; in LcpDecodeConfig() local
750 maxmtu = p ? physical_DeviceMTU(p) : 0; in LcpDecodeConfig()
751 if (lcp->cfg.max_mtu && (!maxmtu || maxmtu > lcp->cfg.max_mtu)) in LcpDecodeConfig()
752 maxmtu = lcp->cfg.max_mtu; in LcpDecodeConfig()
754 if (maxmtu && wantmtu > maxmtu) { in LcpDecodeConfig()
756 fp->link->name, wantmtu, maxmtu); in LcpDecodeConfig()
757 wantmtu = maxmtu; in LcpDecodeConfig()
760 if (maxmtu && mru > maxmtu) { in LcpDecodeConfig()
761 lcp->his_mru = maxmtu; in LcpDecodeConfig()
/trueos/sys/netinet/
HDtcp_input.c3403 u_long maxmtu = 0; in tcp_mss_update() local
3427 maxmtu = tcp_maxmtu6(&inp->inp_inc, cap); in tcp_mss_update()
3436 maxmtu = tcp_maxmtu(&inp->inp_inc, cap); in tcp_mss_update()
3444 if (maxmtu == 0) { in tcp_mss_update()
3492 mss = min(metrics.rmx_mtu, maxmtu) - min_protoh; in tcp_mss_update()
3496 mss = maxmtu - min_protoh; in tcp_mss_update()
3507 mss = maxmtu - min_protoh; in tcp_mss_update()
3636 u_long maxmtu = 0; in tcp_mssopt() local
3645 maxmtu = tcp_maxmtu6(inc, NULL); in tcp_mssopt()
3655 maxmtu = tcp_maxmtu(inc, NULL); in tcp_mssopt()
[all …]
HDtcp_subr.c1859 u_long maxmtu = 0; in tcp_maxmtu() local
1874 maxmtu = ifp->if_mtu; in tcp_maxmtu()
1876 maxmtu = min(sro.ro_rt->rt_mtu, ifp->if_mtu); in tcp_maxmtu()
1890 return (maxmtu); in tcp_maxmtu()
1900 u_long maxmtu = 0; in tcp_maxmtu6() local
1914 maxmtu = IN6_LINKMTU(sro6.ro_rt->rt_ifp); in tcp_maxmtu6()
1916 maxmtu = min(sro6.ro_rt->rt_mtu, in tcp_maxmtu6()
1932 return (maxmtu); in tcp_maxmtu6()
/trueos/usr.sbin/ndp/
HDndp.c1011 printf(", maxmtu=%d", ND.maxmtu);