diff options
author | Julian Elischer <julian@FreeBSD.org> | 2000-04-28 17:09:00 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2000-04-28 17:09:00 +0000 |
commit | a4ec03cfa87725b1890c6753970d29ecadc0ec97 (patch) | |
tree | 36a7436d71cf8f738e7a601bf6c714bd567a4dda /sys/netgraph/ng_rfc1490.c | |
parent | 8261236de4456a6ae64b5bfe71befe9d15221347 (diff) | |
download | src-a4ec03cfa87725b1890c6753970d29ecadc0ec97.tar.gz src-a4ec03cfa87725b1890c6753970d29ecadc0ec97.zip |
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
Notes
Notes:
svn path=/head/; revision=59728
Diffstat (limited to 'sys/netgraph/ng_rfc1490.c')
-rw-r--r-- | sys/netgraph/ng_rfc1490.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netgraph/ng_rfc1490.c b/sys/netgraph/ng_rfc1490.c index f14e74bf4e39..bc7edb857661 100644 --- a/sys/netgraph/ng_rfc1490.c +++ b/sys/netgraph/ng_rfc1490.c @@ -172,7 +172,7 @@ ng_rfc1490_newhook(node_p node, hook_p hook, const char *name) */ static int ng_rfc1490_rcvmsg(node_p node, struct ng_mesg *msg, - const char *raddr, struct ng_mesg **rp) + const char *raddr, struct ng_mesg **rp, hook_p lasthook) { FREE(msg, M_NETGRAPH); return (EINVAL); @@ -215,7 +215,8 @@ ng_rfc1490_rcvmsg(node_p node, struct ng_mesg *msg, #define OUICMP(P,A,B,C) ((P)[0]==(A) && (P)[1]==(B) && (P)[2]==(C)) static int -ng_rfc1490_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) +ng_rfc1490_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 = node->private; |