.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Minimal BPF assembler |
---|
3 | 4 | * |
---|
.. | .. |
---|
10 | 11 | * |
---|
11 | 12 | * How to get into it: |
---|
12 | 13 | * |
---|
13 | | - * 1) read Documentation/networking/filter.txt |
---|
| 14 | + * 1) read Documentation/networking/filter.rst |
---|
14 | 15 | * 2) Run `bpf_asm [-c] <filter-prog file>` to translate into binary |
---|
15 | 16 | * blob that is loadable with xt_bpf, cls_bpf et al. Note: -c will |
---|
16 | 17 | * pretty print a C-like construct. |
---|
17 | 18 | * |
---|
18 | 19 | * Copyright 2013 Daniel Borkmann <borkmann@redhat.com> |
---|
19 | | - * Licensed under the GNU General Public License, version 2.0 (GPLv2) |
---|
20 | 20 | */ |
---|
21 | 21 | |
---|
22 | 22 | #include <stdbool.h> |
---|