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/dev/ar | |
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/dev/ar')
-rw-r--r-- | sys/dev/ar/if_ar.c | 7 | ||||
-rw-r--r-- | sys/dev/ar/if_ar_isa.c | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c index 6f9122c..0c21d69 100644 --- a/sys/dev/ar/if_ar.c +++ b/sys/dev/ar/if_ar.c @@ -2204,8 +2204,8 @@ ngar_newhook(node_p node, hook_p hook, const char *name) * Just respond to the generic TEXT_STATUS message */ static int -ngar_rcvmsg(node_p node, - struct ng_mesg *msg, const char *retaddr, struct ng_mesg **resp) +ngar_rcvmsg(node_p node, struct ng_mesg *msg, + const char *retaddr, struct ng_mesg **resp, hook_p lasthook) { struct ar_softc * sc; int error = 0; @@ -2273,7 +2273,8 @@ ngar_rcvmsg(node_p node, * get data from another node and transmit it to the correct channel */ static int -ngar_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) +ngar_rcvdata(hook_p hook, struct mbuf *m, meta_p meta, + struct mbuf **ret_m, meta_p *ret_meta) { int s; int error = 0; diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c index 6f9122c..0c21d69 100644 --- a/sys/dev/ar/if_ar_isa.c +++ b/sys/dev/ar/if_ar_isa.c @@ -2204,8 +2204,8 @@ ngar_newhook(node_p node, hook_p hook, const char *name) * Just respond to the generic TEXT_STATUS message */ static int -ngar_rcvmsg(node_p node, - struct ng_mesg *msg, const char *retaddr, struct ng_mesg **resp) +ngar_rcvmsg(node_p node, struct ng_mesg *msg, + const char *retaddr, struct ng_mesg **resp, hook_p lasthook) { struct ar_softc * sc; int error = 0; @@ -2273,7 +2273,8 @@ ngar_rcvmsg(node_p node, * get data from another node and transmit it to the correct channel */ static int -ngar_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) +ngar_rcvdata(hook_p hook, struct mbuf *m, meta_p meta, + struct mbuf **ret_m, meta_p *ret_meta) { int s; int error = 0; |