Searched refs:IFP2NG (Results 1 – 2 of 2) sorted by relevance
76 #define IFP2NG(ifp) ((ifp)->if_l2com) macro242 const node_p node = IFP2NG(ifp); in ng_ether_input()259 const node_p node = IFP2NG(ifp); in ng_ether_input_orphan()278 const node_p node = IFP2NG(ifp); in ng_ether_output()308 MPASS(IFP2NG(ifp) == NULL); in ng_ether_attach()333 IFP2NG(ifp) = node; in ng_ether_attach()354 if (IFP2NG(ifp) == NULL) \365 const node_p node = IFP2NG(ifp); in ng_ether_detach()379 IFP2NG(ifp) = NULL; in ng_ether_detach()391 const node_p node = IFP2NG(ifp); in ng_ether_link_state()[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()