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/pci/if_mn.c | |
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/pci/if_mn.c')
-rw-r--r-- | sys/pci/if_mn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pci/if_mn.c b/sys/pci/if_mn.c index 5382bd2..0e0bb4a 100644 --- a/sys/pci/if_mn.c +++ b/sys/pci/if_mn.c @@ -283,7 +283,7 @@ ngmn_shutdown(node_p nodep) } static int -ngmn_rcvmsg(node_p node, struct ng_mesg *msg, const char *retaddr, struct ng_mesg **resp) +ngmn_rcvmsg(node_p node, struct ng_mesg *msg, const char *retaddr, struct ng_mesg **resp, hook_p lasthook) { struct softc *sc; struct schan *sch; @@ -497,7 +497,8 @@ mn_fmt_ts(char *p, u_int32_t ts) */ static int -ngmn_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) +ngmn_rcvdata(hook_p hook, struct mbuf *m, meta_p meta, + struct mbuf **ret_m, meta_p *ret_meta) { struct mbuf *m2; struct trxd *dp, *dp2; |