forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
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>