Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet6/
H A Dnd6.h68 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
106 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \
107 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
148 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
H A Dnd6_rtr.c536 u_long maxmtu; in nd6_ra_input() local
549 maxmtu = (ndi->maxmtu && ndi->maxmtu < ifp->if_mtu) in nd6_ra_input()
550 ? ndi->maxmtu : ifp->if_mtu; in nd6_ra_input()
551 if (mtu <= maxmtu) { in nd6_ra_input()
563 mtu, ip6_sprintf(ip6bufs, &ip6->ip6_src), maxmtu)); in nd6_ra_input()
H A Dnd6.c349 omaxmtu = ndi->maxmtu; in nd6_setmtu0()
350 ndi->maxmtu = ifp->if_mtu; in nd6_setmtu0()
358 if (omaxmtu >= IPV6_MMTU && ndi->maxmtu < IPV6_MMTU) { in nd6_setmtu0()
361 if_name(ifp), (unsigned long)ndi->maxmtu); in nd6_setmtu0()
364 if (ndi->maxmtu > V_in6_maxmtu) in nd6_setmtu0()
1622 ND.maxmtu = ND_IFINFO(ifp)->maxmtu; in nd6_ioctl()
H A Din6.c2022 unsigned long maxmtu = 0; in in6_setmaxmtu() local
2031 IN6_LINKMTU(ifp) > maxmtu) in in6_setmaxmtu()
2032 maxmtu = IN6_LINKMTU(ifp); in in6_setmaxmtu()
2035 if (maxmtu) /* update only when maxmtu is positive */ in in6_setmaxmtu()
2036 V_in6_maxmtu = maxmtu; in in6_setmaxmtu()
/f-stack/tools/compat/include/netinet6/
H A Dnd6.h68 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
106 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \
107 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
148 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member
/f-stack/freebsd/netinet/
H A Dtcp_input.c3663 uint32_t maxmtu = 0; in tcp_mss_update() local
3702 if (maxmtu == 0) { in tcp_mss_update()
3754 mss = maxmtu - min_protoh; in tcp_mss_update()
3765 mss = maxmtu - min_protoh; in tcp_mss_update()
3887 uint32_t maxmtu = 0; in tcp_mssopt() local
3895 maxmtu = tcp_maxmtu6(inc, NULL); in tcp_mssopt()
3905 maxmtu = tcp_maxmtu(inc, NULL); in tcp_mssopt()
3913 if (maxmtu && thcmtu) in tcp_mssopt()
3914 mss = min(maxmtu, thcmtu) - min_protoh; in tcp_mssopt()
3915 else if (maxmtu || thcmtu) in tcp_mssopt()
[all …]
H A Dtcp_subr.c2946 uint32_t maxmtu = 0; in tcp_maxmtu() local
2956 maxmtu = nh->nh_mtu; in tcp_maxmtu()
2969 return (maxmtu); in tcp_maxmtu()
2981 uint32_t maxmtu = 0; in tcp_maxmtu6() local
2995 maxmtu = nh->nh_mtu; in tcp_maxmtu6()
3009 return (maxmtu); in tcp_maxmtu6()
/f-stack/tools/ndp/
H A Dndp.c1088 printf(", maxmtu=%d", ND.maxmtu); in ifinfo()