Home
last modified time | relevance | path

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

/f-stack/freebsd/netgraph/
H A Dng_ether.c77 #define IFP2NG(ifp) ((ifp)->if_l2com) macro
248 const node_p node = IFP2NG(ifp); in ng_ether_input()
265 const node_p node = IFP2NG(ifp); in ng_ether_input_orphan()
284 const node_p node = IFP2NG(ifp); in ng_ether_output()
324 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__)); in ng_ether_attach()
341 IFP2NG(ifp) = node; in ng_ether_attach()
356 const node_p node = IFP2NG(ifp); in ng_ether_detach()
366 IFP2NG(ifp) = NULL; in ng_ether_detach()
378 const node_p node = IFP2NG(ifp); in ng_ether_link_state()
423 node = IFP2NG(ifp); in ng_ether_ifnet_arrival_event()
[all …]
H A Dng_gif.c94 #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()
188 const node_p node = IFP2NG(ifp); in ng_gif_input_orphan()
231 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__)); in ng_gif_attach()
264 const node_p node = IFP2NG(ifp); in ng_gif_detach()