summaryrefslogtreecommitdiffstats
path: root/share/man/man4/bpf.4
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-01-30 13:52:50 +0000
committermpp <mpp@FreeBSD.org>1996-01-30 13:52:50 +0000
commit511d4f82b255a7fa34ffa2c1cd048cef32acefa2 (patch)
tree99b740a7c4217cd7405a4de1071ea095c0037d7d /share/man/man4/bpf.4
parent9e0a71c3eebd8d8e34dfa434ee6b139736c61490 (diff)
downloadFreeBSD-src-511d4f82b255a7fa34ffa2c1cd048cef32acefa2.zip
FreeBSD-src-511d4f82b255a7fa34ffa2c1cd048cef32acefa2.tar.gz
Fix a bunch of spelling errors in a bunch of man pages.
Diffstat (limited to 'share/man/man4/bpf.4')
-rw-r--r--share/man/man4/bpf.416
1 files changed, 8 insertions, 8 deletions
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index 92afbd2..d63b399 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -139,14 +139,14 @@ Sets the buffer length for reads on
files. The buffer must be set before the file is attached to an interface
with
.Dv BIOCSETIF .
-If the requested buffer size cannot be accomodated, the closest
+If the requested buffer size cannot be accommodated, the closest
allowable size will be set and returned in the argument.
A read call will result in
.Er EIO
if it is passed a buffer that is not this size.
.It Dv BIOCGDLT
.Pq Li u_int
-Returns the type of the data link layer underyling the attached interface.
+Returns the type of the data link layer underlying the attached interface.
.Er EINVAL
is returned if no interface has been specified.
The device types, prefixed with
@@ -249,7 +249,7 @@ See section
for an explanation of the filter language.
.It Dv BIOCVERSION
.Pq Li "struct bpf_version"
-Returns the major and minor version numbers of the filter languange currently
+Returns the major and minor version numbers of the filter language currently
recognized by the kernel. Before installing a filter, applications must check
that the current version is compatible with the running kernel. Version
numbers are compatible if the major numbers match and the application minor
@@ -367,15 +367,15 @@ struct bpf_insn {
The
.Li k
-field is used in differnet ways by different insutructions,
+field is used in different ways by different instructions,
and the
.Li jt
and
.Li jf
fields are used as offsets
-by the branch intructions.
+by the branch instructions.
The opcodes are encoded in a semi-hierarchical fashion.
-There are eight classes of intructions:
+There are eight classes of instructions:
.Dv BPF_LD ,
.Dv BPF_LDX ,
.Dv BPF_ST ,
@@ -460,7 +460,7 @@ A <- M[k]
.It Dv BPF_LDX
These instructions load a value into the index register. Note that
-the addressing modes are more retricted than those of the accumulator loads,
+the addressing modes are more restrictive than those of the accumulator loads,
but they include
.Dv BPF_MSH ,
a hack for efficiently loading the IP header length.
@@ -597,7 +597,7 @@ accept k bytes
.It Dv BPF_MISC
The miscellaneous category was created for anything that doesn't
fit into the above classes, and for any new instructions that might need to
-be added. Currently, these are the register transfer intructions
+be added. Currently, these are the register transfer instructions
that copy the index register to the accumulator or vice versa.
.Bl -tag -width "BPF_MISC+BPF_TAX" -compact
OpenPOWER on IntegriCloud