Searched refs:maxmtu (Results 1 – 8 of 8) sorted by relevance
68 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member106 : ((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
536 u_long maxmtu; in nd6_ra_input() local549 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()
349 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()
2022 unsigned long maxmtu = 0; in in6_setmaxmtu() local2031 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()
3663 uint32_t maxmtu = 0; in tcp_mss_update() local3702 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() local3895 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 …]
2946 uint32_t maxmtu = 0; in tcp_maxmtu() local2956 maxmtu = nh->nh_mtu; in tcp_maxmtu()2969 return (maxmtu); in tcp_maxmtu()2981 uint32_t maxmtu = 0; in tcp_maxmtu6() local2995 maxmtu = nh->nh_mtu; in tcp_maxmtu6()3009 return (maxmtu); in tcp_maxmtu6()
1088 printf(", maxmtu=%d", ND.maxmtu); in ifinfo()