Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/npf/npfctl Wording, more macros.
details: https://anonhg.NetBSD.org/src/rev/28ae5371fd51
branches: trunk
changeset: 781789:28ae5371fd51
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Sep 30 21:15:08 2012 +0000
description:
Wording, more macros.
diffstat:
usr.sbin/npf/npfctl/npf.conf.5 | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
diffs (45 lines):
diff -r b9893a30677b -r 28ae5371fd51 usr.sbin/npf/npfctl/npf.conf.5
--- a/usr.sbin/npf/npfctl/npf.conf.5 Sun Sep 30 21:09:30 2012 +0000
+++ b/usr.sbin/npf/npfctl/npf.conf.5 Sun Sep 30 21:15:08 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: npf.conf.5,v 1.22 2012/09/30 21:09:30 rmind Exp $
+.\" $NetBSD: npf.conf.5,v 1.23 2012/09/30 21:15:08 wiz Exp $
.\"
.\" Copyright (c) 2009-2012 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -160,11 +160,11 @@
Explicit filter criteria can be specified using "pass <criteria>" as
an additional option of the mapping.
.Ss Procedures
-Rule procedure is defined as a collection of extension calls (it may have
-none).
-Every extension call has a name and a list of options in a form of
+A rule procedure is defined as a collection of extension calls (it
+may have none).
+Every extension call has a name and a list of options in the form of
key-value pairs.
-Depending on the call, key might represent the argument and the value
+Depending on the call, the key might represent the argument and the value
might be optional.
For example:
.Bd -literal
@@ -174,11 +174,15 @@
}
.Ed
.Pp
-In this case, procedure has a call to logging and normalisation modules.
+In this case, the procedure calls the logging and normalisation modules.
.Ss Misc
-Text after a hash (#) character is considered a comment.
-The \\ character at the end of a line marks a continuation line,
-i.e. the next line is considered an extension of the present line.
+Text after a hash
+.Pq Sq #
+character is considered a comment.
+The backslash
+.Pq Sq \e
+character at the end of a line marks a continuation line,
+i.e., the next line is considered an extension of the present line.
.Sh GRAMMAR
The following is a non-formal BNF-like definition of the grammar.
The definition is simplified and is intended to be human readable,
Home |
Main Index |
Thread Index |
Old Index