diff options
author | glebius <glebius@FreeBSD.org> | 2005-02-05 12:06:33 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-02-05 12:06:33 +0000 |
commit | 67c8ae0802e5b708541ca404efd85c35330e6640 (patch) | |
tree | ba193f3100298c12106c55572c263d432178852d /sys/netinet/ip_fw.h | |
parent | a7fbfc9eab2af6e0c8b1b9bb3b7e89c11f6153f4 (diff) | |
download | FreeBSD-src-67c8ae0802e5b708541ca404efd85c35330e6640.zip FreeBSD-src-67c8ae0802e5b708541ca404efd85c35330e6640.tar.gz |
Add a ng_ipfw node, implementing a quick and simple interface between
ipfw(4) and netgraph(4) facilities.
Reviewed by: andre, brooks, julian
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r-- | sys/netinet/ip_fw.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index de92951..0da6f43 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -138,6 +138,12 @@ enum ipfw_opcodes { /* arguments (4 byte each) */ O_DIVERTED, /* arg1=bitmap (1:loop, 2:out) */ O_TCPDATALEN, /* arg1 = tcp data len */ + /* + * actions for ng_ipfw + */ + O_NETGRAPH, /* send to ng_ipfw */ + O_NGTEE, /* copy to ng_ipfw */ + O_LAST_OPCODE /* not an opcode! */ }; @@ -425,6 +431,7 @@ enum { IP_FW_TEE, IP_FW_DUMMYNET, IP_FW_NETGRAPH, + IP_FW_NGTEE, }; /* flags for divert mtag */ |