diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-10-05 21:17:58 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-10-05 21:17:58 +0000 |
commit | 45f925e105ee57b440d2409d797e1061127b971f (patch) | |
tree | 5f6381f877e3745f94ad9955930ee142ba632826 /sys/net/pfvar.h | |
parent | 52f7c465b7eed745c782abf1921e5f6ea6d8e9aa (diff) |
Allow filtering based on IP header's tos field.
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 afbb3f44a0d..8da6466f27b 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.89 2002/08/12 16:41:25 dhartmei Exp $ */ +/* $OpenBSD: pfvar.h,v 1.90 2002/10/05 21:17:57 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -276,6 +276,7 @@ struct pf_rule { u_int8_t allow_opts; u_int8_t rt; u_int8_t return_ttl; + u_int8_t tos; }; #define PFRULE_RETURNRST 0x01 @@ -401,6 +402,7 @@ struct pf_pdesc { * state code. Easier than tags */ u_int8_t af; u_int8_t proto; + u_int8_t tos; }; /* flags for RDR options */ |