]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
uapi: update to bpf.h
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 30 Oct 2024 04:33:41 +0000 (21:33 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 30 Oct 2024 04:33:41 +0000 (21:33 -0700)
Stay insync with upstream

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/bpf.h

index c5fdc86342dfaee59c98d2025c4b06e456f34cca..aa381a3d982da5f193c278479f16550647616bd3 100644 (file)
@@ -1121,6 +1121,9 @@ enum bpf_attach_type {
 
 #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE
 
+/* Add BPF_LINK_TYPE(type, name) in bpf_types.h to keep bpf_link_type_strs[]
+ * in sync with the definitions below.
+ */
 enum bpf_link_type {
        BPF_LINK_TYPE_UNSPEC = 0,
        BPF_LINK_TYPE_RAW_TRACEPOINT = 1,