Home
last modified time | relevance | path

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

/freebsd/sys/netinet6/
H A Dnd6.h67 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
105 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \
106 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
147 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
H A Dnd6_rtr.c540 u_long maxmtu; in nd6_ra_input() local
553 maxmtu = (ndi->maxmtu && ndi->maxmtu < ifp->if_mtu) in nd6_ra_input()
554 ? ndi->maxmtu : ifp->if_mtu; in nd6_ra_input()
555 if (mtu <= maxmtu) { in nd6_ra_input()
567 mtu, ip6_sprintf(ip6bufs, &ip6->ip6_src), maxmtu)); in nd6_ra_input()
H A Dnd6.c368 omaxmtu = ndi->maxmtu; in nd6_setmtu0()
369 ndi->maxmtu = ifp->if_mtu; in nd6_setmtu0()
377 if (omaxmtu >= IPV6_MMTU && ndi->maxmtu < IPV6_MMTU) { in nd6_setmtu0()
380 if_name(ifp), (unsigned long)ndi->maxmtu); in nd6_setmtu0()
383 if (ndi->maxmtu > V_in6_maxmtu) in nd6_setmtu0()
1655 ND.maxmtu = ND_IFINFO(ifp)->maxmtu; in nd6_ioctl()
H A Din6.c2115 unsigned long maxmtu = 0; in in6_setmaxmtu() local
2124 IN6_LINKMTU(ifp) > maxmtu) in in6_setmaxmtu()
2125 maxmtu = IN6_LINKMTU(ifp); in in6_setmaxmtu()
2128 if (maxmtu) /* update only when maxmtu is positive */ in in6_setmaxmtu()
2129 V_in6_maxmtu = maxmtu; in in6_setmaxmtu()
/freebsd/usr.sbin/ppp/
H A Dlcp.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()
/freebsd/sys/netinet/
H A Dtcp_input.c3800 uint32_t maxmtu = 0; in tcp_mss_update() local
3824 maxmtu = tcp_maxmtu6(&inp->inp_inc, cap); in tcp_mss_update()
3833 maxmtu = tcp_maxmtu(&inp->inp_inc, cap); in tcp_mss_update()
3841 if (maxmtu == 0) { in tcp_mss_update()
3886 mss = min(metricptr->hc_mtu, maxmtu) - min_protoh; in tcp_mss_update()
3890 mss = maxmtu - min_protoh; in tcp_mss_update()
3901 mss = maxmtu - min_protoh; in tcp_mss_update()
4045 uint32_t maxmtu = 0; in tcp_mssopt() local
4053 maxmtu = tcp_maxmtu6(inc, NULL); in tcp_mssopt()
4063 maxmtu = tcp_maxmtu(inc, NULL); in tcp_mssopt()
[all …]
H A Dtcp_subr.c3380 uint32_t maxmtu = 0; in tcp_maxmtu() local
3390 maxmtu = nh->nh_mtu; in tcp_maxmtu()
3406 return (maxmtu); in tcp_maxmtu()
3418 uint32_t maxmtu = 0; in tcp_maxmtu6() local
3432 maxmtu = nh->nh_mtu; in tcp_maxmtu6()
3447 return (maxmtu); in tcp_maxmtu6()
/freebsd/usr.sbin/ndp/
H A Dndp.c1088 xo_emit(", maxmtu={:maxmtu/%d}", ND.maxmtu); in ifinfo()