Bump date for 1.32.

Use .Aq instead of \*[Lt]\*[Gt] and mark up paths with .Pa.
This commit is contained in:
wiz 2005-09-10 22:40:37 +00:00
parent d44e7a1778
commit ef2f276eb2

View File

@ -1,6 +1,6 @@
.\" -*- nroff -*-
.\"
.\" $NetBSD: bpf.4,v 1.33 2005/09/06 19:18:41 rpaulo Exp $
.\" $NetBSD: bpf.4,v 1.34 2005/09/10 22:40:37 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1992, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -24,7 +24,7 @@
.\" This document is derived in part from the enet man page (enet.4)
.\" distributed with 4.3BSD Unix.
.\"
.Dd August 4, 2005
.Dd September 6, 2005
.Dt BPF 4
.Os
.Sh NAME
@ -94,8 +94,9 @@ Currently, only writes to Ethernets and SLIP links are supported.
.Sh IOCTLS
The
.Xr ioctl 2
command codes below are defined in \*[Lt]net/bpf.h\*[Gt]. All commands require
these includes:
command codes below are defined in
.Aq Pa net/bpf.h .
All commands require these includes:
.Bd -literal -offset indent
#include \*[Lt]sys/types.h\*[Gt]
#include \*[Lt]sys/time.h\*[Gt]
@ -133,7 +134,8 @@ Returns the type of the data link layer underlying the attached interface.
is returned if no interface has been specified.
The device types, prefixed with
.Dq DLT_ ,
are defined in \*[Lt]net/bpf.h\*[Gt].
are defined in
.Aq Pa net/bpf.h .
.It Dv BIOCGDLTLIST (struct bpf_dltlist)
Returns an array of available type of the data link layer
underlying the attached interface:
@ -281,7 +283,8 @@ The current version numbers are given by
.Dv BPF_MAJOR_VERSION
and
.Dv BPF_MINOR_VERSION
from \*[Lt]net/bpf.h\*[Gt].
from
.Aq Pa net/bpf.h .
An incompatible filter
may result in undefined behavior (most likely, an error returned by
.Xr ioctl 2
@ -293,7 +296,7 @@ specified by FIOSETOWN. It defaults to SIGIO.
Enable/disable or get the
.Dq header complete
flag status.
If enabled, packets written to the bpf file descriptor will not have
If enabled, packets written to the bpf file descriptor will not have
network layer headers rewritten in the interface output routine.
By default, the flag is disabled (value is 0).
.It Dv BIOCGSEESENT BIOCSSEESENT (u_int)
@ -390,7 +393,7 @@ has some knowledge of how to get from packet to packet.
The macro
.Dv BPF_WORDALIGN
is defined in
.Pa \*[Lt]net/bpf.h\*[Gt]
.Aq Pa net/bpf.h
to facilitate this process.
It rounds up its argument
to the nearest word aligned value (where a word is BPF_ALIGNMENT bytes wide).
@ -440,7 +443,8 @@ The opcodes are encoded in a semi-hierarchical fashion.
There are eight classes of instructions: BPF_LD, BPF_LDX, BPF_ST, BPF_STX,
BPF_ALU, BPF_JMP, BPF_RET, and BPF_MISC. Various other mode and
operator bits are or'd into the class to give the actual instructions.
The classes and modes are defined in \*[Lt]net/bpf.h\*[Gt].
The classes and modes are defined in
.Aq Pa net/bpf.h .
.Pp
Below are the semantics for each defined BPF instruction.
We use the convention that A is the accumulator, X is the index register,