Module Name: src
Committed By: uwe
Date: Sat Feb 11 12:44:49 UTC 2023
Modified Files:
src/share/man/man4: bpf.4
Log Message:
bpf(4): fix couple of overlooked markup nits
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/share/man/man4/bpf.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/bpf.4
diff -u src/share/man/man4/bpf.4:1.71 src/share/man/man4/bpf.4:1.72
--- src/share/man/man4/bpf.4:1.71 Sat Feb 11 12:39:44 2023
+++ src/share/man/man4/bpf.4 Sat Feb 11 12:44:49 2023
@@ -1,6 +1,6 @@
.\" -*- nroff -*-
.\"
-.\" $NetBSD: bpf.4,v 1.71 2023/02/11 12:39:44 uwe Exp $
+.\" $NetBSD: bpf.4,v 1.72 2023/02/11 12:44:49 uwe Exp $
.\"
.\" Copyright (c) 1990, 1991, 1992, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -600,7 +600,9 @@ or byte
.Sy ( BPF_B ) .
Arithmetic overflow when calculating a variable offset terminates
the filter program and the packet is ignored.
-The semantics of all the recognized BPF_LD instructions follow.
+The semantics of all the recognized
+.Sy BPF_LD
+instructions follow.
.\" to make all instruction tables align nicely, use common max width
.ds max-insn .Sy BPF_LDX + BPF_W + BPF_WWW
.\"
@@ -677,7 +679,7 @@ Jump offsets are encoded in 8 bits so th
However, the jump always
.Sy ( BPF_JA )
opcode uses the 32 bit
-.Va k
+.Fa k
field as the offset, allowing arbitrarily distant destinations.
All conditionals use unsigned comparison conventions.
.Bl -column "\*[max-insn]" -offset indent