summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-06-09 20:10:38 +0000
committerru <ru@FreeBSD.org>2004-06-09 20:10:38 +0000
commit27bed143c8c7c9b562797f2484f88fdaa8bc1e39 (patch)
tree75de0420ffeefb842b539c0cbc464d8e78cc60e1 /sys/netinet/in.h
parente6a8fb50df7df24d4a19173cd8d92ef29425f515 (diff)
downloadFreeBSD-src-27bed143c8c7c9b562797f2484f88fdaa8bc1e39.zip
FreeBSD-src-27bed143c8c7c9b562797f2484f88fdaa8bc1e39.tar.gz
Introduce a new feature to IPFW2: lookup tables. These are useful
for handling large sparse address sets. Initial implementation by Vsevolod Lobko <seva@ip.net.ua>, refined by me. MFC after: 1 week
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index eb71af6..95c2fa3 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -386,6 +386,12 @@ __END_DECLS
#define IP_ONESBCAST 23 /* bool: send all-ones broadcast */
+#define IP_FW_TABLE_ADD 40 /* add entry */
+#define IP_FW_TABLE_DEL 41 /* delete entry */
+#define IP_FW_TABLE_FLUSH 42 /* flush table */
+#define IP_FW_TABLE_GETSIZE 43 /* get table size */
+#define IP_FW_TABLE_LIST 44 /* list table contents */
+
#define IP_FW_ADD 50 /* add a firewall rule to chain */
#define IP_FW_DEL 51 /* delete a firewall rule from chain */
#define IP_FW_FLUSH 52 /* flush firewall rule chain */
OpenPOWER on IntegriCloud