MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ng_ppp_rcvdata_ipx

Function ng_ppp_rcvdata_ipx

freebsd/netgraph/ng_ppp.c:846–857  ·  view source on GitHub ↗

* Receive data on a hook ipx */

Source from the content-addressed store, hash-verified

844 * Receive data on a hook ipx
845 */
846static int
847ng_ppp_rcvdata_ipx(hook_p hook, item_p item)
848{
849 const node_p node = NG_HOOK_NODE(hook);
850 const priv_p priv = NG_NODE_PRIVATE(node);
851
852 if (!priv->conf.enableIPX) {
853 NG_FREE_ITEM(item);
854 return (ENXIO);
855 }
856 return (ng_ppp_hcomp_xmit(NG_HOOK_NODE(hook), item, PROT_IPX));
857}
858
859/*
860 * Receive data on a hook bypass

Callers

nothing calls this directly

Calls 1

ng_ppp_hcomp_xmitFunction · 0.85

Tested by

no test coverage detected