From c93ba3907f60ca35fa59cc922660ff273b0e9410 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Wed, 25 Jan 2023 11:50:34 -0800 Subject: [PATCH] sync: auto-generate latest BPF helpers Latest changes to BPF helper definitions. Signed-off-by: Andrii Nakryiko --- src/bpf_helper_defs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bpf_helper_defs.h b/src/bpf_helper_defs.h index 9bcaca1..2c3040a 100644 --- a/src/bpf_helper_defs.h +++ b/src/bpf_helper_defs.h @@ -1277,6 +1277,11 @@ static long (*bpf_setsockopt)(void *bpf_socket, int level, int optname, void *op * Use with BPF_F_ADJ_ROOM_ENCAP_L2 flag to further specify the * L2 type as Ethernet. * + * * **BPF_F_ADJ_ROOM_DECAP_L3_IPV4**, + * **BPF_F_ADJ_ROOM_DECAP_L3_IPV6**: + * Indicate the new IP header version after decapsulating the outer + * IP header. Used when the inner and outer IP versions are different. + * * A call to this helper is susceptible to change the underlying * packet buffer. Therefore, at load time, all checks on pointers * previously done by the verifier are invalidated and must be