diff options
author | julian <julian@FreeBSD.org> | 2000-04-28 17:09:00 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2000-04-28 17:09:00 +0000 |
commit | 49604b425978fca1a0b197ff5d43889d33ffcb87 (patch) | |
tree | 8bf49b48085e9c6254a57fde4c123f5e58889f72 /sys/netgraph/ng_vjc.c | |
parent | 5869eff8901701f3215b4a78477cc57e21f16416 (diff) | |
download | FreeBSD-src-49604b425978fca1a0b197ff5d43889d33ffcb87.zip FreeBSD-src-49604b425978fca1a0b197ff5d43889d33ffcb87.tar.gz |
Two simple changes to the kernel internal API for netgraph modules,
to support future work in flow-control and 'packet reject/replace'
processing modes.
reviewed by: phk, archie
Diffstat (limited to 'sys/netgraph/ng_vjc.c')
-rw-r--r-- | sys/netgraph/ng_vjc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netgraph/ng_vjc.c b/sys/netgraph/ng_vjc.c index 216b2df..9a85dd6 100644 --- a/sys/netgraph/ng_vjc.c +++ b/sys/netgraph/ng_vjc.c @@ -179,7 +179,7 @@ ng_vjc_newhook(node_p node, hook_p hook, const char *name) */ static int ng_vjc_rcvmsg(node_p node, struct ng_mesg *msg, - const char *raddr, struct ng_mesg **rptr) + const char *raddr, struct ng_mesg **rptr, hook_p lasthook) { const priv_p priv = (priv_p) node->private; struct ng_mesg *resp = NULL; @@ -254,7 +254,8 @@ done: * Receive data */ static int -ng_vjc_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) +ng_vjc_rcvdata(hook_p hook, struct mbuf *m, meta_p meta, + struct mbuf **ret_m, meta_p *ret_meta) { const node_p node = hook->node; const priv_p priv = (priv_p) node->private; |