From a4ec03cfa87725b1890c6753970d29ecadc0ec97 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Fri, 28 Apr 2000 17:09:00 +0000 Subject: 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 --- sys/netgraph/ng_ksocket.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/netgraph/ng_ksocket.c') diff --git a/sys/netgraph/ng_ksocket.c b/sys/netgraph/ng_ksocket.c index 5f332d9a356e..96a99655554a 100644 --- a/sys/netgraph/ng_ksocket.c +++ b/sys/netgraph/ng_ksocket.c @@ -567,7 +567,7 @@ ng_ksocket_newhook(node_p node, hook_p hook, const char *name0) */ static int ng_ksocket_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) { struct proc *p = curproc ? curproc : &proc0; /* XXX broken */ const priv_p priv = node->private; @@ -783,7 +783,8 @@ done: * Receive incoming data on our hook. Send it out the socket. */ static int -ng_ksocket_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) +ng_ksocket_rcvdata(hook_p hook, struct mbuf *m, meta_p meta, + struct mbuf **ret_m, meta_p *ret_meta) { struct proc *p = curproc ? curproc : &proc0; /* XXX broken */ const node_p node = hook->node; -- cgit v1.2.3