hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/bpf/bpf_asm.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Minimal BPF assembler
34 *
....@@ -10,13 +11,12 @@
1011 *
1112 * How to get into it:
1213 *
13
- * 1) read Documentation/networking/filter.txt
14
+ * 1) read Documentation/networking/filter.rst
1415 * 2) Run `bpf_asm [-c] <filter-prog file>` to translate into binary
1516 * blob that is loadable with xt_bpf, cls_bpf et al. Note: -c will
1617 * pretty print a C-like construct.
1718 *
1819 * Copyright 2013 Daniel Borkmann <borkmann@redhat.com>
19
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
2020 */
2121
2222 #include <stdbool.h>