Searched refs:maxmtu (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dnd6.h78 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member in struct:nd_ifinfo
162 u_int32_t maxmtu; /* Upper bound of LinkMTU */ member in struct:in6_ondireq::__anon334
202 * else if ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < ifp->if_mtu))
203 * linkmtu = ND_IFINFO(ifp)->maxmtu;
210 ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) ? \
211 ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
H A Dnd6.c224 oldmaxmtu = ndi->maxmtu;
227 * The ND level maxmtu is somewhat redundant to the interface MTU
229 * limiting the maxmtu based on the interface type here, we simply
234 * ND level maxmtu and linkmtu (the latter obtained via RA) are done
237 ndi->maxmtu = ifp->if_mtu;
245 if (oldmaxmtu >= IPV6_MMTU && ndi->maxmtu < IPV6_MMTU) {
248 ifp->if_name, ifp->if_unit, (unsigned long)ndi->maxmtu);
252 if (ndi->maxmtu > in6_maxmtu)
1546 ndi->ndi.maxmtu = nd_ifinfo[ifp->if_index].maxmtu;
[all...]
H A Din6.c2694 unsigned long maxmtu = 0; local
2700 IN6_LINKMTU(ifp) > maxmtu)
2701 maxmtu = IN6_LINKMTU(ifp);
2704 if (maxmtu) /* update only when maxmtu is positive */
2705 in6_maxmtu = maxmtu;
H A Dnd6_rtr.c410 if (ndi->maxmtu) {
411 if (mtu <= ndi->maxmtu) {
420 "exceeds maxmtu %d, ignoring\n",
422 ndi->maxmtu));
426 "mtu=%d sent from %s; maxmtu unknown, "
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dtcp_input.c3362 unsigned int maxmtu; local
3365 maxmtu = rt->rt_ifp->if_mtu;
3367 maxmtu = MIN(rt->rt_rmx.rmx_mtu, rt->rt_ifp->if_mtu);
3369 return (maxmtu);
3376 unsigned int maxmtu; local
3379 maxmtu = IN6_LINKMTU(rt->rt_ifp);
3381 maxmtu = MIN(rt->rt_rmx.rmx_mtu, IN6_LINKMTU(rt->rt_ifp));
3383 return (maxmtu);

Completed in 41 milliseconds