Home
last modified time | relevance | path

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

/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.c3711 uint32_t maxmtu = 0; in tcp_mss_update() local
3735 maxmtu = tcp_maxmtu6(&inp->inp_inc, cap); in tcp_mss_update()
3744 maxmtu = tcp_maxmtu(&inp->inp_inc, cap); in tcp_mss_update()
3752 if (maxmtu == 0) { in tcp_mss_update()
3797 mss = min(metricptr->hc_mtu, maxmtu) - min_protoh; in tcp_mss_update()
3801 mss = maxmtu - min_protoh; in tcp_mss_update()
3812 mss = maxmtu - min_protoh; in tcp_mss_update()
3956 uint32_t maxmtu = 0; in tcp_mssopt() local
3964 maxmtu = tcp_maxmtu6(inc, NULL); in tcp_mssopt()
3974 maxmtu = tcp_maxmtu(inc, NULL); in tcp_mssopt()
[all …]
H A Dtcp_subr.c3640 uint32_t maxmtu = 0; in tcp_maxmtu() local
3650 maxmtu = nh->nh_mtu; in tcp_maxmtu()
3666 return (maxmtu); in tcp_maxmtu()
3678 uint32_t maxmtu = 0; in tcp_maxmtu6() local
3692 maxmtu = nh->nh_mtu; in tcp_maxmtu6()
3707 return (maxmtu); in tcp_maxmtu6()
/freebsd/sys/netinet6/
H A Dnd6.h121 uint32_t maxmtu; /* Upper bound of LinkMTU */ member
H A Dnd6_rtr.c551 u_long maxmtu; in nd6_ra_input() local
564 maxmtu = (ndi->nd_maxmtu && ndi->nd_maxmtu < ifp->if_mtu) in nd6_ra_input()
566 if (mtu <= maxmtu) { in nd6_ra_input()
573 "exceeds maxmtu %lu, ignoring\n", __func__, in nd6_ra_input()
574 mtu, ip6_sprintf(ip6bufs, &ip6->ip6_src), maxmtu)); in nd6_ra_input()
H A Din6.c2629 maxmtu = ifp->if_inet6->nd_maxmtu, in in6_ifmtu() local
2634 if (maxmtu > 0 && maxmtu < ifmtu) in in6_ifmtu()
2635 return (maxmtu); in in6_ifmtu()
H A Dnd6.c1643 .maxmtu = ext->nd_maxmtu, in nd6_ioctl()
/freebsd/usr.sbin/ndp/
H A Dndp.c1091 xo_emit(", maxmtu={:maxmtu/%d}", ND.maxmtu); in ifinfo()