Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Sync man page with reality.



details:   https://anonhg.NetBSD.org/src/rev/f00e89e4fcca
branches:  trunk
changeset: 761496:f00e89e4fcca
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Jan 30 07:02:23 2011 +0000

description:
Sync man page with reality.

diffstat:

 share/man/man9/npf_ncode.9 |  30 ++++++++++++++++++++++--------
 1 files changed, 22 insertions(+), 8 deletions(-)

diffs (80 lines):

diff -r 2fd24b27e603 -r f00e89e4fcca share/man/man9/npf_ncode.9
--- a/share/man/man9/npf_ncode.9        Sat Jan 29 23:38:34 2011 +0000
+++ b/share/man/man9/npf_ncode.9        Sun Jan 30 07:02:23 2011 +0000
@@ -1,6 +1,6 @@
-.\"    $NetBSD: npf_ncode.9,v 1.5 2010/12/02 12:54:13 wiz Exp $
+.\"    $NetBSD: npf_ncode.9,v 1.6 2011/01/30 07:02:23 rmind Exp $
 .\"
-.\" Copyright (c) 2009-2010 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2009-2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" This material is based upon work partially supported by The
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 16, 2010
+.Dd January 30, 2011
 .Dt NPF_NCODE 9
 .Os
 .Sh NAME
@@ -155,9 +155,9 @@
 .\" ---
 Set and load operations.
 .Bl -tag -width indent
-.It Sy 0x10 NPF_OPCODE_MOV <value>, <register>
+.It Sy 0x10 NPF_OPCODE_MOVE <value>, <register>
 Set the specified value to a register.
-.It Sy 0x11 NPF_OPCODE_LOAD <length>, <register>
+.It Sy 0x11 NPF_OPCODE_LW <length>, <register>
 Load specified length of packet data into the register.
 The data is read starting from the current network buffer offset.
 The operation does not advance the offset after read, however.
@@ -191,13 +191,27 @@
 .El
 .Pp
 .\" ---
+.\" Arithmetic operations.
+.\" .Bl -tag -width indent
+.\" .It Sy 0x30 NPF_OPCODE_ADD
+.\" .It Sy 0x31 NPF_OPCODE_SUB
+.\" .It Sy 0x32 NPF_OPCODE_MULT
+.\" .It Sy 0x33 NPF_OPCODE_DIV
+.\" .El
+.\" .Pp
+.\" ---
 Bitwise operations.
 .Bl -tag -width indent
-.It Sy 0x30 NPF_OPCODE_AND <value>, <register>
+.\" .It Sy 0x40 NPF_OPCODE_NOT
+.It Sy 0x41 NPF_OPCODE_AND <value>, <register>
 Perform bitwise
 .Dv AND
 with a specified value and the value in the register.
 The result is stored in the register.
+.\" .It Sy 0x42 NPF_OPCODE_OR
+.\" .It Sy 0x43 NPF_OPCODE_XOR
+.\" .It Sy 0x44 NPF_OPCODE_SLL
+.\" .It Sy 0x45 NPF_OPCODE_SRL
 .El
 .Pp
 .\" -----
@@ -228,7 +242,7 @@
 lower 16 bits.
 The higher 8 bits represent type, and the lower 8 bits code number.
 .\" -
-.It Sy 0xa0 NPF_OPCODE_TCP_PORT        <s/d>, <port range>
+.It Sy 0xa0 NPF_OPCODE_TCP_PORTS <s/d>, <port range>
 Match the TCP source or destination port with a specified port range.
 The higher 16 bits of the second argument represent the "from" and
 the lower 16 bits represent the "to" values of the range.
@@ -237,7 +251,7 @@
 The value of the first argument indicates whether source (if 0x1) or
 destination (if 0x0) port should be matched.
 .\" -
-.It Sy 0xa1 NPF_OPCODE_UDP_PORT <s/d>, <port range>
+.It Sy 0xa1 NPF_OPCODE_UDP_PORTS <s/d>, <port range>
 Equivalent of
 .Dv NPF_OPCODE_TCP_PORT ,
 but for UDP protocol.



Home | Main Index | Thread Index | Old Index