summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_tee.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2000-04-28 17:09:00 +0000
committerjulian <julian@FreeBSD.org>2000-04-28 17:09:00 +0000
commit49604b425978fca1a0b197ff5d43889d33ffcb87 (patch)
tree8bf49b48085e9c6254a57fde4c123f5e58889f72 /sys/netgraph/ng_tee.c
parent5869eff8901701f3215b4a78477cc57e21f16416 (diff)
downloadFreeBSD-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_tee.c')
-rw-r--r--sys/netgraph/ng_tee.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netgraph/ng_tee.c b/sys/netgraph/ng_tee.c
index ec774f2..1553c60 100644
--- a/sys/netgraph/ng_tee.c
+++ b/sys/netgraph/ng_tee.c
@@ -194,7 +194,7 @@ ngt_newhook(node_p node, hook_p hook, const char *name)
*/
static int
ngt_rcvmsg(node_p node, struct ng_mesg *msg, const char *retaddr,
- struct ng_mesg **rptr)
+ struct ng_mesg **rptr, hook_p lasthook)
{
const sc_p sc = node->private;
struct ng_mesg *resp = NULL;
@@ -262,7 +262,8 @@ done:
* from the other side.
*/
static int
-ngt_rcvdata(hook_p hook, struct mbuf *m, meta_p meta)
+ngt_rcvdata(hook_p hook, struct mbuf *m, meta_p meta,
+ struct mbuf **ret_m, meta_p *ret_meta)
{
const sc_p sc = hook->node->private;
struct hookinfo *const hinfo = (struct hookinfo *) hook->private;
OpenPOWER on IntegriCloud