]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - include/uapi/linux/seg6_local.h
Update kernel headers
[mirror_iproute2.git] / include / uapi / linux / seg6_local.h
index 76b90d60c7ea72910e87dda9ef40282f50cb515f..5312de80bcfae74c73bd308f58ec2881f5b4f357 100644 (file)
@@ -25,6 +25,7 @@ enum {
        SEG6_LOCAL_NH6,
        SEG6_LOCAL_IIF,
        SEG6_LOCAL_OIF,
+       SEG6_LOCAL_BPF,
        __SEG6_LOCAL_MAX,
 };
 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
@@ -59,10 +60,21 @@ enum {
        SEG6_LOCAL_ACTION_END_AS        = 13,
        /* forward to SR-unaware VNF with masquerading */
        SEG6_LOCAL_ACTION_END_AM        = 14,
+       /* custom BPF action */
+       SEG6_LOCAL_ACTION_END_BPF       = 15,
 
        __SEG6_LOCAL_ACTION_MAX,
 };
 
 #define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1)
 
+enum {
+       SEG6_LOCAL_BPF_PROG_UNSPEC,
+       SEG6_LOCAL_BPF_PROG,
+       SEG6_LOCAL_BPF_PROG_NAME,
+       __SEG6_LOCAL_BPF_PROG_MAX,
+};
+
+#define SEG6_LOCAL_BPF_PROG_MAX (__SEG6_LOCAL_BPF_PROG_MAX - 1)
+
 #endif