summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-07-25 16:59:26 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-07-25 16:59:26 +0000
commitb05f5ad550a15435592fa995b3dc9c8d4b632992 (patch)
tree20f9954fcd5ccd3b8c40b0b65e2d1756879ca704
parentb3b27cdbf6bd1b650db888b12698c4f0cb9f704f (diff)
document "tos": pointed out by maxim bourmistrov
diff from jared r r spiegel ok dhartmei
-rw-r--r--share/man/man5/pf.conf.524
1 files changed, 22 insertions, 2 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 34439b1844e..b208b7948b8 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.350 2006/07/09 11:00:17 mcbride Exp $
+.\" $OpenBSD: pf.conf.5,v 1.351 2006/07/25 16:59:25 jmc Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -1512,6 +1512,26 @@ or
.Ar icmp6-type
.Pc
must match.
+.It Xo Ar tos Aq Ar string
+.No \*(Ba Aq Ar number
+.Xc
+This rule applies to packets with the specified
+.Em TOS
+bits set.
+.Em TOS
+may be
+given as one of
+.Ar lowdelay ,
+.Ar throughput ,
+.Ar reliability ,
+or as either hex or decimal.
+.Pp
+For example, the following rules are identical:
+.Bd -literal -offset indent
+pass all tos lowdelay
+pass all tos 0x10
+pass all tos 16
+.Ed
.It Ar allow-opts
By default, packets which contain IP options are blocked.
When
@@ -1575,7 +1595,7 @@ directive occurs only at configuration file parse time, not during runtime.
.Xc
Packets matching this rule will be assigned to the specified queue.
If two queues are given, packets which have a
-.Em tos
+.Em TOS
of
.Em lowdelay
and TCP ACKs with no data payload will be assigned to the second one.