summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2000-06-08 09:45:23 +0000
committerluigi <luigi@FreeBSD.org>2000-06-08 09:45:23 +0000
commite2bccbe2b7b6f0e949728f301f8089191af5a485 (patch)
tree78dc33f5adcc1fdffb2ed71bbcc6f66f637c8218 /sys/netinet/ip_fw.h
parent4b3d813e0a772f64b470e20777a14ff8e764083c (diff)
downloadFreeBSD-src-e2bccbe2b7b6f0e949728f301f8089191af5a485.zip
FreeBSD-src-e2bccbe2b7b6f0e949728f301f8089191af5a485.tar.gz
Implement WF2Q+ in dummynet.
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index a106108..9467624 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -69,7 +69,7 @@ struct ip_fw {
union ip_fw_if fw_in_if, fw_out_if; /* Incoming and outgoing interfaces */
union {
u_short fu_divert_port; /* Divert/tee port (options IPDIVERT) */
- u_short fu_pipe_nr; /* pipe number (option DUMMYNET) */
+ u_short fu_pipe_nr; /* queue number (option DUMMYNET) */
u_short fu_skipto_rule; /* SKIPTO command rule number */
u_short fu_reject_code; /* REJECT response code */
struct sockaddr_in fu_fwd_ip;
@@ -81,7 +81,7 @@ struct ip_fw {
* match all ports)
*/
u_char fw_nports;
- void *pipe_ptr; /* Pipe ptr in case of dummynet pipe */
+ void *pipe_ptr; /* flow_set ptr for dummynet pipe */
void *next_rule_ptr ; /* next rule in case of match */
uid_t fw_uid; /* uid to match */
gid_t fw_gid; /* gid to match */
@@ -167,6 +167,7 @@ struct ipfw_dyn_rule {
#define IP_FW_F_SKIPTO 0x00000006 /* This is a skipto rule */
#define IP_FW_F_FWD 0x00000007 /* This is a "change forwarding address" rule */
#define IP_FW_F_PIPE 0x00000008 /* This is a dummynet rule */
+#define IP_FW_F_QUEUE 0x00000009 /* This is a dummynet queue */
#define IP_FW_F_IN 0x00000100 /* Check inbound packets */
#define IP_FW_F_OUT 0x00000200 /* Check outbound packets */
OpenPOWER on IntegriCloud