diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-12-13 21:48:32 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-12-13 21:48:32 +0000 |
commit | 74b65e1212e5b69c99fd0132a289ec8a4be28e01 (patch) | |
tree | 6049eb29966b971a753a9c31771e5dbc3bbb0aed /sys/net/pfvar.h | |
parent | 38dcaab75735dd0c28737aa4bd08b59c9af05a57 (diff) |
add pqueue and pqid to pf_rule.
this allows for a second queue on pf_rule.
assign packets with tos 0x10 (lowdelay) to this one.
if the second queue isn't specified set pqid = qid
idea dhartmei@
ok dhartmei@ frantzen@ deraadt@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 9c4c34546ad..99d17460d32 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.109 2002/12/12 14:08:52 henning Exp $ */ +/* $OpenBSD: pfvar.h,v 1.110 2002/12/13 21:48:31 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -293,6 +293,7 @@ struct pf_rule { #define PF_QNAME_SIZE 16 char ifname[IFNAMSIZ]; char qname[PF_QNAME_SIZE]; + char pqname[PF_QNAME_SIZE]; #define PF_ANCHOR_NAME_SIZE 16 char anchorname[PF_ANCHOR_NAME_SIZE]; TAILQ_ENTRY(pf_rule) entries; @@ -308,6 +309,7 @@ struct pf_rule { u_int32_t states; u_int32_t max_states; u_int32_t qid; + u_int32_t pqid; u_int32_t rt_listid; u_int16_t nr; |