Home
last modified time | relevance | path

Searched refs:IFP2NG (Results 1 – 5 of 5) sorted by relevance

/dragonfly/sys/netgraph7/ether/
H A Dng_ether.c72 #define IFP2NG(ifp) (IFP2AC((ifp))->ac_netgraph) macro
219 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);
/dragonfly/sys/netgraph/ether/
H A Dng_ether.c69 #define IFP2NG(ifp) (IFP2AC((ifp))->ac_netgraph) macro
206 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()
/dragonfly/sys/netgraph7/
H A Dng_gif.c92 #define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph) macro
172 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()
H A Dng_fec.c136 #define IFP2NG(ifp) ((ifp)->if_afdata[AF_NETGRAPH]) macro
414 IFP2NG(bifp) = priv->node; in ng_fec_addport()
511 IFP2NG(bifp) = NULL; in ng_fec_delport()
875 node = IFP2NG(ifp); in ng_fec_input()
/dragonfly/sys/netgraph/fec/
H A Dng_fec.c129 #define IFP2NG(ifp) ((struct ng_node *)((struct arpcom *)(ifp))->ac_netgraph) macro
752 node = IFP2NG(ifp); in ng_fec_input()