summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_tty.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_tty.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_tty.c')
-rw-r--r--sys/netgraph/ng_tty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
index c96edab..ef2cc5d 100644
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -568,7 +568,8 @@ ngt_shutdown(node_p node)
* output queue and start output if necessary.
*/
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;
int s, error = 0;
@@ -599,7 +600,7 @@ done:
*/
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 = (sc_p) node->private;
struct ng_mesg *resp = NULL;
OpenPOWER on IntegriCloud