]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, doc: Document Jump X addressing mode
authorArthur Fabre <arthur@arthurfabre.com>
Sun, 7 Oct 2018 08:45:19 +0000 (09:45 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 8 Oct 2018 08:20:56 +0000 (10:20 +0200)
commit32e466fe9fed6d4b6e8d89d25c12d564766cf244
tree59dbd066ccb6f534a85b2b00d0664c0f4ea58c3a
parentf41bb96c81290c7c39169761d5608c1dc9997eb6
bpf, doc: Document Jump X addressing mode

bpf_asm and the other classic BPF tools support jump conditions
comparing register A to register X, in addition to comparing
register A with constant K.

Only the latter was documented in filter.txt, add two new addressing
modes that describe the former.

Signed-off-by: Arthur Fabre <arthur@arthurfabre.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Documentation/networking/filter.txt