summaryrefslogtreecommitdiff
path: root/bpfc.8
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-09-06 11:03:20 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-09-06 11:03:20 +0200
commit382b08547cc61faf10d94cffef890ce0dc85609c (patch)
tree78f52958ae09f048ceec77acc27427e616ca5274 /bpfc.8
parent220e83ebb195e958e36ea7ed13c54b61d23e6558 (diff)
bpfc: add gnu as style %-register prefix
Let a and x register also be addressed as %x and %a. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'bpfc.8')
-rw-r--r--bpfc.84
1 files changed, 2 insertions, 2 deletions
diff --git a/bpfc.8 b/bpfc.8
index 5ef7a04..c65fbec 100644
--- a/bpfc.8
+++ b/bpfc.8
@@ -158,7 +158,7 @@ unsigned data structures:
.PP
Addressing mode Syntax Description
.PP
- 0 x Register X
+ 0 x/%x Register X
1 [k] BHW at byte offset k in the packet
2 [x + k] BHW at the offset X + k in the packet
3 M[k] Word at offset k in M[]
@@ -167,7 +167,7 @@ unsigned data structures:
6 L Jump label L
7 #k,Lt,Lf Jump to Lt if true, otherwise jump to Lf
8 #k,Lt Jump to Lt if predicate is true
- 9 a Accumulator A
+ 9 a/%a Accumulator A
10 extension BPF extension (see next table)
.PP
Extension (and alias) Description