* Receive data on a hook inet and pass it directly to first link. */
| 799 | * Receive data on a hook inet and pass it directly to first link. |
| 800 | */ |
| 801 | static int |
| 802 | ng_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. |
nothing calls this directly
no test coverage detected