From e2177278ae9951a0262349a6741d013032b3cce6 Mon Sep 17 00:00:00 2001 From: dave-tucker Date: Wed, 14 Aug 2024 20:20:16 +0000 Subject: [PATCH] [codegen] Update libbpf to b07dfe3b2a6cb0905e883510f22f9f7c0bb66d0dUpdate libbpf to b07dfe3b2a6cb0905e883510f22f9f7c0bb66d0d Files changed: M ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs M ebpf/aya-ebpf-bindings/src/armv7/bindings.rs M ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs M ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs M ebpf/aya-ebpf-bindings/src/s390x/bindings.rs M ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs --- ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs | 7 +++++++ ebpf/aya-ebpf-bindings/src/armv7/bindings.rs | 7 +++++++ ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs | 7 +++++++ ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs | 7 +++++++ ebpf/aya-ebpf-bindings/src/s390x/bindings.rs | 7 +++++++ ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs | 7 +++++++ 6 files changed, 42 insertions(+) diff --git a/ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs b/ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs index 3f62e3c8..629fa460 100644 --- a/ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs +++ b/ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs @@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 { pub sport: __be16, pub dport: __be16, } +pub mod tcx_action_base { + pub type Type = ::aya_ebpf_cty::c_int; + pub const TCX_NEXT: Type = -1; + pub const TCX_PASS: Type = 0; + pub const TCX_DROP: Type = 2; + pub const TCX_REDIRECT: Type = 7; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct bpf_xdp_sock { diff --git a/ebpf/aya-ebpf-bindings/src/armv7/bindings.rs b/ebpf/aya-ebpf-bindings/src/armv7/bindings.rs index c79702a3..9bbde90a 100644 --- a/ebpf/aya-ebpf-bindings/src/armv7/bindings.rs +++ b/ebpf/aya-ebpf-bindings/src/armv7/bindings.rs @@ -1708,6 +1708,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 { pub sport: __be16, pub dport: __be16, } +pub mod tcx_action_base { + pub type Type = ::aya_ebpf_cty::c_int; + pub const TCX_NEXT: Type = -1; + pub const TCX_PASS: Type = 0; + pub const TCX_DROP: Type = 2; + pub const TCX_REDIRECT: Type = 7; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct bpf_xdp_sock { diff --git a/ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs b/ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs index 0f269e5e..5895d8ef 100644 --- a/ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs +++ b/ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs @@ -1711,6 +1711,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 { pub sport: __be16, pub dport: __be16, } +pub mod tcx_action_base { + pub type Type = ::aya_ebpf_cty::c_int; + pub const TCX_NEXT: Type = -1; + pub const TCX_PASS: Type = 0; + pub const TCX_DROP: Type = 2; + pub const TCX_REDIRECT: Type = 7; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct bpf_xdp_sock { diff --git a/ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs b/ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs index 762bf20a..f06086e4 100644 --- a/ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs +++ b/ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs @@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 { pub sport: __be16, pub dport: __be16, } +pub mod tcx_action_base { + pub type Type = ::aya_ebpf_cty::c_int; + pub const TCX_NEXT: Type = -1; + pub const TCX_PASS: Type = 0; + pub const TCX_DROP: Type = 2; + pub const TCX_REDIRECT: Type = 7; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct bpf_xdp_sock { diff --git a/ebpf/aya-ebpf-bindings/src/s390x/bindings.rs b/ebpf/aya-ebpf-bindings/src/s390x/bindings.rs index 7efa5c80..3ef80055 100644 --- a/ebpf/aya-ebpf-bindings/src/s390x/bindings.rs +++ b/ebpf/aya-ebpf-bindings/src/s390x/bindings.rs @@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 { pub sport: __be16, pub dport: __be16, } +pub mod tcx_action_base { + pub type Type = ::aya_ebpf_cty::c_int; + pub const TCX_NEXT: Type = -1; + pub const TCX_PASS: Type = 0; + pub const TCX_DROP: Type = 2; + pub const TCX_REDIRECT: Type = 7; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct bpf_xdp_sock { diff --git a/ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs b/ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs index 8fc0b9a9..2c7ad659 100644 --- a/ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs +++ b/ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs @@ -1711,6 +1711,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 { pub sport: __be16, pub dport: __be16, } +pub mod tcx_action_base { + pub type Type = ::aya_ebpf_cty::c_int; + pub const TCX_NEXT: Type = -1; + pub const TCX_PASS: Type = 0; + pub const TCX_DROP: Type = 2; + pub const TCX_REDIRECT: Type = 7; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct bpf_xdp_sock {