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

Function ng_ppp_rcvdata_inet_fast

freebsd/netgraph/ng_ppp.c:801–809  ·  view source on GitHub ↗

* Receive data on a hook inet and pass it directly to first link. */

Source from the content-addressed store, hash-verified

799 * Receive data on a hook inet and pass it directly to first link.
800 */
801static int
802ng_ppp_rcvdata_inet_fast(hook_p hook, item_p item)
803{
804 const node_p node = NG_HOOK_NODE(hook);
805 const priv_p priv = NG_NODE_PRIVATE(node);
806
807 return (ng_ppp_link_xmit(node, item, PROT_IP, priv->activeLinks[0],
808 NGI_M(item)->m_pkthdr.len));
809}
810
811/*
812 * Receive data on a hook ipv6.

Callers

nothing calls this directly

Calls 1

ng_ppp_link_xmitFunction · 0.85

Tested by

no test coverage detected