Searched refs:IFP2NG (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/netgraph/
H A Dng_ether.c77 #define IFP2NG(ifp) ((ifp)->if_l2com) macro
248 const node_p node = IFP2NG(ifp);
265 const node_p node = IFP2NG(ifp);
284 const node_p node = IFP2NG(ifp);
323 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__));
340 IFP2NG(ifp) = node;
356 const node_p node = IFP2NG(ifp);
366 IFP2NG(ifp) = NULL;
378 const node_p node = IFP2NG(ifp);
424 node = IFP2NG(if
[all...]
H A Dng_gif.c92 #define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph) macro
170 const node_p node = IFP2NG(ifp);
186 const node_p node = IFP2NG(ifp);
229 KASSERT(!IFP2NG(ifp), ("%s: node already exists?", __func__));
262 const node_p node = IFP2NG(ifp);
/freebsd-11-stable/sys/netgraph/atm/
H A Dng_atm.c351 #define IFP2NG(IFP) ((node_p)((struct ifatm *)(IFP)->if_softc)->ngpriv) macro
375 node_p node = IFP2NG(ifp);
427 const node_p node = IFP2NG(ifp);
449 node_p node = IFP2NG(ifp);
644 const node_p node = IFP2NG(ifp);
1267 KASSERT(IFP2NG(ifp) == 0, ("%s: node alreay exists?", __func__));
1299 const node_p node = IFP2NG(ifp);

Completed in 99 milliseconds