summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-12-02 10:36:41 +0000
committerluigi <luigi@FreeBSD.org>2009-12-02 10:36:41 +0000
commit0042b1fc7042b493c963018d755e89a409d59db6 (patch)
tree96528a79d19c14ed91ab241c92a2608c1a2a2632
parent2c01a786473b0c252ff82f4829bd0b2a9151e071 (diff)
downloadFreeBSD-src-0042b1fc7042b493c963018d755e89a409d59db6.zip
FreeBSD-src-0042b1fc7042b493c963018d755e89a409d59db6.tar.gz
Add new sockopt names for ipfw and dummynet.
This commit is just grabbing entries for the new names that will be used in the future, so you don't need to rebuild anything now. MFC after: 3 days
-rw-r--r--sys/netinet/in.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index f5fca5a..e83d94b 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -423,12 +423,20 @@ __END_DECLS
#define IP_ONESBCAST 23 /* bool: send all-ones broadcast */
#define IP_BINDANY 24 /* bool: allow bind to any address */
+/*
+ * Options for controlling the firewall and dummynet.
+ * Historical options (from 40 to 64) will eventually be
+ * replaced by only two options, IP_FW3 and IP_DUMMYNET3.
+ */
#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_FW3 48 /* generic ipfw v.3 sockopts */
+#define IP_DUMMYNET3 49 /* generic dummynet v.3 sockopts */
+
#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