summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authoradam <adam@FreeBSD.org>1997-01-16 21:04:29 +0000
committeradam <adam@FreeBSD.org>1997-01-16 21:04:29 +0000
commit752ba4d26f2e94cc31940f50407a6b18b86ee0e8 (patch)
tree4a96909d7420e2da778a9c97b865c7b2d9a54dba /sys/netinet/ip_fw.h
parent104d3c9ef67e45cdbb45100d6f7416ad9f6c75ba (diff)
downloadFreeBSD-src-752ba4d26f2e94cc31940f50407a6b18b86ee0e8.zip
FreeBSD-src-752ba4d26f2e94cc31940f50407a6b18b86ee0e8.tar.gz
implement "not" keyword for inverting the address logic
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index 8775521..bd5eeb7 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -64,6 +64,8 @@ struct ip_fw_chain {
/*
* Values for "flags" field .
*/
+#define IP_FW_F_INVSRC 0x0001 /* Invert sense of src check */
+#define IP_FW_F_INVDST 0x0002 /* Invert sense of dst check */
#define IP_FW_F_IN 0x0004 /* Inbound */
#define IP_FW_F_OUT 0x0008 /* Outbound */
OpenPOWER on IntegriCloud