Home
last modified time | relevance | path

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

/src/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()
/src/sys/netinet/
H A Dtcp_input.c3714 uint32_t maxmtu = 0; in tcp_mss_update() local
3738 maxmtu = tcp_maxmtu6(&inp->inp_inc, cap); in tcp_mss_update()
3747 maxmtu = tcp_maxmtu(&inp->inp_inc, cap); in tcp_mss_update()
3755 if (maxmtu == 0) { in tcp_mss_update()
3800 mss = min(metricptr->hc_mtu, maxmtu) - min_protoh; in tcp_mss_update()
3804 mss = maxmtu - min_protoh; in tcp_mss_update()
3815 mss = maxmtu - min_protoh; in tcp_mss_update()
3959 uint32_t maxmtu = 0; in tcp_mssopt() local
3967 maxmtu = tcp_maxmtu6(inc, NULL); in tcp_mssopt()
3977 maxmtu = tcp_maxmtu(inc, NULL); in tcp_mssopt()
[all …]
H A Dtcp_subr.c3655 uint32_t maxmtu = 0; in tcp_maxmtu() local
3665 maxmtu = nh->nh_mtu; in tcp_maxmtu()
3681 return (maxmtu); in tcp_maxmtu()
3693 uint32_t maxmtu = 0; in tcp_maxmtu6() local
3707 maxmtu = nh->nh_mtu; in tcp_maxmtu6()
3722 return (maxmtu); in tcp_maxmtu6()
/src/sys/netinet6/
H A Dnd6.h121 uint32_t maxmtu; /* Upper bound of LinkMTU */ member
H A Dnd6_rtr.c418 uint32_t mtu, maxmtu; in nd6_ra_opt_mtu() local
433 maxmtu = (ndi->nd_maxmtu && ndi->nd_maxmtu < ifp->if_mtu) in nd6_ra_opt_mtu()
435 if (mtu <= maxmtu) { in nd6_ra_opt_mtu()
443 mtu, ip6_sprintf(ip6bufs, &saddr6), maxmtu)); in nd6_ra_opt_mtu()
H A Din6.c2632 maxmtu = ifp->if_inet6->nd_maxmtu, in in6_ifmtu() local
2637 if (maxmtu > 0 && maxmtu < ifmtu) in in6_ifmtu()
2638 return (maxmtu); in in6_ifmtu()
H A Dnd6.c1667 .maxmtu = ext->nd_maxmtu, in nd6_ioctl()
/src/usr.sbin/ndp/
H A Dndp.c1091 xo_emit(", maxmtu={:maxmtu/%d}", ND.maxmtu); in ifinfo()