Lines Matching defs:ifp
467 #define ND_IFINFO(ifp) \
468 ((ifp)->if_index < nd_ifinfo_indexlim ? &nd_ifinfo[(ifp)->if_index] : NULL)
473 * if (ND_IFINFO(ifp) == NULL || !ND_IFINFO(ifp)->initialized)
474 * linkmtu = ifp->if_mtu;
475 * else if (ND_IFINFO(ifp)->linkmtu && ND_IFINFO(ifp)->linkmtu < ifp->if_mtu)
476 * linkmtu = ND_IFINFO(ifp)->linkmtu;
477 * else if ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < ifp->if_mtu))
478 * linkmtu = ND_IFINFO(ifp)->maxmtu;
480 * linkmtu = ifp->if_mtu;
482 #define IN6_LINKMTU(ifp) \
483 ((ND_IFINFO(ifp) == NULL || !ND_IFINFO(ifp)->initialized) ? \
484 (ifp)->if_mtu : ((ND_IFINFO(ifp)->linkmtu && \
485 ND_IFINFO(ifp)->linkmtu < (ifp)->if_mtu) ? ND_IFINFO(ifp)->linkmtu : \
486 ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) ? \
487 ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu)))
514 struct ifnet *ifp;
644 u_short prm_index; /* index for associated ifp */