diff options
author | luigi <luigi@FreeBSD.org> | 2002-07-05 22:43:06 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-07-05 22:43:06 +0000 |
commit | 95e13a442bbbd5c27bc85499b778f90a47530072 (patch) | |
tree | 0411e7a7b559b55b9f5abacd9b3272d9e40ff4b0 /sys/netinet/ip_fw.h | |
parent | 28043f7b73e9714a5886bfe818394f5acffadeb7 (diff) | |
download | FreeBSD-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.h | 1 |
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 */ |