Searched refs:IFP2NG (Results 1 – 2 of 2) sorted by relevance
77 #define IFP2NG(ifp) ((ifp)->if_l2com) macro248 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 …]
94 #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()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()