Searched refs:IFP2NG (Results 1 – 5 of 5) sorted by relevance
72 #define IFP2NG(ifp) (IFP2AC((ifp))->ac_netgraph) macro219 const node_p node = IFP2NG(ifp); in ng_ether_input()238 const node_p node = IFP2NG(ifp); in ng_ether_input_orphan()257 const node_p node = IFP2NG(ifp); in ng_ether_output()281 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__)); in ng_ether_attach()299 IFP2NG(ifp) = node; in ng_ether_attach()316 const node_p node = IFP2NG(ifp); in ng_ether_detach()325 IFP2NG(ifp) = NULL; in ng_ether_detach()338 const node_p node = IFP2NG(ifp);
69 #define IFP2NG(ifp) (IFP2AC((ifp))->ac_netgraph) macro206 const node_p node = IFP2NG(ifp); in ng_ether_input()222 const node_p node = IFP2NG(ifp); in ng_ether_input_orphan()260 const node_p node = IFP2NG(ifp); in ng_ether_output()287 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__)); in ng_ether_attach()305 IFP2NG(ifp) = node; in ng_ether_attach()323 const node_p node = IFP2NG(ifp); in ng_ether_detach()331 IFP2NG(ifp) = NULL; /* detach node from interface */ in ng_ether_detach()
92 #define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph) macro172 const node_p node = IFP2NG(ifp); in ng_gif_input()190 const node_p node = IFP2NG(ifp); in ng_gif_input_orphan()235 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__)); in ng_gif_attach()269 const node_p node = IFP2NG(ifp); in ng_gif_detach()
136 #define IFP2NG(ifp) ((ifp)->if_afdata[AF_NETGRAPH]) macro414 IFP2NG(bifp) = priv->node; in ng_fec_addport()511 IFP2NG(bifp) = NULL; in ng_fec_delport()875 node = IFP2NG(ifp); in ng_fec_input()
129 #define IFP2NG(ifp) ((struct ng_node *)((struct arpcom *)(ifp))->ac_netgraph) macro752 node = IFP2NG(ifp); in ng_fec_input()