Searched refs:IFP2NG (Results 1 – 2 of 2) sorted by relevance
76 #define IFP2NG(ifp) ((ifp)->if_l2com) macro247 const node_p node = IFP2NG(ifp); in ng_ether_input()264 const node_p node = IFP2NG(ifp); in ng_ether_input_orphan()283 const node_p node = IFP2NG(ifp); in ng_ether_output()323 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__)); in ng_ether_attach()340 IFP2NG(ifp) = node; in ng_ether_attach()355 const node_p node = IFP2NG(ifp); in ng_ether_detach()365 IFP2NG(ifp) = NULL; in ng_ether_detach()377 const node_p node = IFP2NG(ifp); in ng_ether_link_state()424 node = IFP2NG(ifp); in ng_ether_ifnet_arrival_event()[all …]
93 #define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph) macro171 const node_p node = IFP2NG(ifp); in ng_gif_input()187 const node_p node = IFP2NG(ifp); in ng_gif_input_orphan()230 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__)); in ng_gif_attach()263 const node_p node = IFP2NG(ifp); in ng_gif_detach()