summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2002-07-05 22:43:06 +0000
committerluigi <luigi@FreeBSD.org>2002-07-05 22:43:06 +0000
commit95e13a442bbbd5c27bc85499b778f90a47530072 (patch)
tree0411e7a7b559b55b9f5abacd9b3272d9e40ff4b0 /sys/netinet/ip_fw.h
parent28043f7b73e9714a5886bfe818394f5acffadeb7 (diff)
downloadFreeBSD-src-95e13a442bbbd5c27bc85499b778f90a47530072.zip
FreeBSD-src-95e13a442bbbd5c27bc85499b778f90a47530072.tar.gz
Implement the last 2-3 missing instructions for ipfw,
now it should support all the instructions of the old ipfw. Fix some bugs in the user interface, /sbin/ipfw. Please check this code against your rulesets, so i can fix the remaining bugs (if any, i think they will be mostly in /sbin/ipfw). Once we have done a bit of testing, this code is ready to be MFC'ed, together with a bunch of other changes (glue to ipfw, and also the removal of some global variables) which have been in -current for a couple of weeks now. MFC after: 7 days
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index 508cc76..f26c6ea 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -76,6 +76,7 @@ enum ipfw_opcodes { /* arguments (4 byte each) */
O_IPPRE, /* arg1 = id */
O_IPTOS, /* arg1 = id */
+ O_IPPRECEDENCE, /* arg1 = precedence << 5 */
O_IPTTL, /* arg1 = TTL */
O_IPVER, /* arg1 = version */
OpenPOWER on IntegriCloud