Lines Matching refs:ifp
79 struct ifnet *ifp ;
80 /* also ((struct arpcom *)ifp)->ac_enaddr is the eth. addr */
91 #define BDG_USED(ifp) (ifp2sc[ifp->if_index].flags & IFF_USED)
92 #define BDG_MUTED(ifp) (ifp2sc[ifp->if_index].flags & IFF_MUTE)
93 #define BDG_MUTE(ifp) ifp2sc[ifp->if_index].flags |= IFF_MUTE
94 #define BDG_UNMUTE(ifp) ifp2sc[ifp->if_index].flags &= ~IFF_MUTE
95 #define BDG_CLUSTER(ifp) (ifp2sc[ifp->if_index].cluster_id)
97 #define BDG_SAMECLUSTER(ifp,src) \
98 (src == NULL || BDG_CLUSTER(ifp) == BDG_CLUSTER(src) )
119 struct ifnet *bridge_in(struct ifnet *ifp, struct ether_header *eh);
166 #define BDG_STAT(ifp, type) bdg_stats.s[ifp->if_index].p_in[(int)type]++
175 * other ifp of the dest. interface (incl.self)
178 * is enabled, i.e. BDG_USED(ifp) is true.