Lines Matching defs:ifp
195 #define ND_IFINFO(ifp) \
196 (&nd_ifinfo[(ifp)->if_index])
200 * if (ND_IFINFO(ifp)->linkmtu && ND_IFINFO(ifp)->linkmtu < ifp->if_mtu)
201 * linkmtu = ND_IFINFO(ifp)->linkmtu;
202 * else if ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < ifp->if_mtu))
203 * linkmtu = ND_IFINFO(ifp)->maxmtu;
205 * linkmtu = ifp->if_mtu;
207 #define IN6_LINKMTU(ifp) \
208 ((ND_IFINFO(ifp)->linkmtu && \
209 ND_IFINFO(ifp)->linkmtu < (ifp)->if_mtu) ? ND_IFINFO(ifp)->linkmtu : \
210 ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) ? \
211 ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
237 struct ifnet *ifp;
285 u_short prm_index; /* index for associated ifp */