Searched refs:maxmtu (Results 1 – 5 of 5) sorted by relevance
/dragonfly/sys/netinet6/ |
H A D | nd6.h | 88 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member 114 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \ 115 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu)) 184 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
|
H A D | nd6.c | 249 omaxmtu = ndi->maxmtu; in nd6_setmtu0_dispatch() 253 ndi->maxmtu = MIN(ETHERMTU, ifp->if_mtu); in nd6_setmtu0_dispatch() 256 ndi->maxmtu = MIN(ETHERMTU, ifp->if_mtu); in nd6_setmtu0_dispatch() 260 ndi->maxmtu = MIN(ETHERMTU, ifp->if_mtu); in nd6_setmtu0_dispatch() 264 ndi->maxmtu = ifp->if_mtu; in nd6_setmtu0_dispatch() 274 if (omaxmtu >= IPV6_MMTU && ndi->maxmtu < IPV6_MMTU) { in nd6_setmtu0_dispatch() 277 if_name(ifp), (unsigned long)ndi->maxmtu); in nd6_setmtu0_dispatch() 280 if (ndi->maxmtu > in6_maxmtu) in nd6_setmtu0_dispatch() 1525 ndi->ndi.maxmtu = ND_IFINFO(ifp)->maxmtu; in nd6_ioctl()
|
H A D | nd6_rtr.c | 352 u_long mtu, maxmtu; in nd6_ra_input() local 365 maxmtu = (ndi->maxmtu && ndi->maxmtu < ifp->if_mtu) ? in nd6_ra_input() 366 ndi->maxmtu : ifp->if_mtu; in nd6_ra_input() 367 if (mtu <= maxmtu) { in nd6_ra_input() 377 mtu, ip6_sprintf(&ip6->ip6_src), maxmtu)); in nd6_ra_input()
|
H A D | in6.c | 2490 unsigned long maxmtu = 0; in in6_setmaxmtu() local 2504 IN6_LINKMTU(ifp) > maxmtu) in in6_setmaxmtu() 2505 maxmtu = IN6_LINKMTU(ifp); in in6_setmaxmtu() 2507 if (maxmtu) /* update only when maxmtu is positive */ in in6_setmaxmtu() 2508 in6_maxmtu = maxmtu; in in6_setmaxmtu()
|
/dragonfly/usr.sbin/ppp/ |
H A D | lcp.c | 663 u_short mru, phmtu, maxmtu, maxmru, wantmtu, wantmru, proto; in LcpDecodeConfig() local 746 maxmtu = p ? physical_DeviceMTU(p) : 0; in LcpDecodeConfig() 747 if (lcp->cfg.max_mtu && (!maxmtu || maxmtu > lcp->cfg.max_mtu)) in LcpDecodeConfig() 748 maxmtu = lcp->cfg.max_mtu; in LcpDecodeConfig() 750 if (maxmtu && wantmtu > maxmtu) { in LcpDecodeConfig() 752 fp->link->name, wantmtu, maxmtu); in LcpDecodeConfig() 753 wantmtu = maxmtu; in LcpDecodeConfig() 756 if (maxmtu && mru > maxmtu) { in LcpDecodeConfig() 757 lcp->his_mru = maxmtu; in LcpDecodeConfig()
|