aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2008-05-09 23:03:00 +0000
committerJulian Elischer <julian@FreeBSD.org>2008-05-09 23:03:00 +0000
commit8b07e49a008c89a15e1fc4a1e3db6d945f81fab4 (patch)
tree1bc85679564ad62b5790f35580ebdcc21ca90f8b /sys/netinet/ip_fw.h
parenta15370c6aa962e0030c1ae024292d76c112d6ea2 (diff)
downloadsrc-8b07e49a008c89a15e1fc4a1e3db6d945f81fab4.tar.gz
src-8b07e49a008c89a15e1fc4a1e3db6d945f81fab4.zip
Notes
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index b41c037ceb2f..5dcdbb3cdcaa 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -161,6 +161,9 @@ enum ipfw_opcodes { /* arguments (4 byte each) */
O_TAG, /* arg1=tag number */
O_TAGGED, /* arg1=tag number */
+ O_SETFIB, /* arg1=FIB number */
+ O_FIB, /* arg1=FIB desired fib number */
+
O_LAST_OPCODE /* not an opcode! */
};
@@ -465,6 +468,7 @@ struct ipfw_flow_id {
u_int32_t src_ip;
u_int16_t dst_port;
u_int16_t src_port;
+ u_int8_t fib;
u_int8_t proto;
u_int8_t flags; /* protocol-specific flags */
uint8_t addr_type; /* 4 = ipv4, 6 = ipv6, 1=ether ? */