aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-08-22 22:52:13 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-08-28 00:30:11 +0200
commit0fc2e0b84ba725c5e6ee66059936638389e67c80 (patch)
tree963e4c42de2427c5ae4a9306e8ecd93d77835b99 /tools/include/uapi/linux/bpf.h
parentbpf: introduce verifier internal test flag (diff)
downloadlinux-dev-0fc2e0b84ba725c5e6ee66059936638389e67c80.tar.xz
linux-dev-0fc2e0b84ba725c5e6ee66059936638389e67c80.zip
tools/bpf: sync bpf.h
sync bpf.h from kernel/ to tools/ Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include/uapi/linux/bpf.h')
-rw-r--r--tools/include/uapi/linux/bpf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index b5889257cc33..5d2fb183ee2d 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -285,6 +285,9 @@ enum bpf_attach_type {
*/
#define BPF_F_TEST_RND_HI32 (1U << 2)
+/* The verifier internal test flag. Behavior is undefined */
+#define BPF_F_TEST_STATE_FREQ (1U << 3)
+
/* When BPF ldimm64's insn[0].src_reg != 0 then this can have
* two extensions:
*