]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
uapi: update headers to 6.16-rc1
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 9 Jun 2025 01:37:06 +0000 (18:37 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 9 Jun 2025 01:37:06 +0000 (18:37 -0700)
Change to bpf.h

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

index 3732e5e02d511c569f8cd001d7cdbfd1581c634c..78c03b12d556b42faed773375de9d875e266cdbe 100644 (file)
@@ -2056,6 +2056,7 @@ union bpf_attr {
  *             for updates resulting in a null checksum the value is set to
  *             **CSUM_MANGLED_0** instead. Flag **BPF_F_PSEUDO_HDR** indicates
  *             that the modified header field is part of the pseudo-header.
+ *             Flag **BPF_F_IPV6** should be set for IPv6 packets.
  *
  *             This helper works in combination with **bpf_csum_diff**\ (),
  *             which does not update the checksum in-place, but offers more
@@ -6072,6 +6073,7 @@ enum {
        BPF_F_PSEUDO_HDR                = (1ULL << 4),
        BPF_F_MARK_MANGLED_0            = (1ULL << 5),
        BPF_F_MARK_ENFORCE              = (1ULL << 6),
+       BPF_F_IPV6                      = (1ULL << 7),
 };
 
 /* BPF_FUNC_skb_set_tunnel_key and BPF_FUNC_skb_get_tunnel_key flags. */