diff --git a/ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs b/ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs index 3f62e3c8a..629fa460f 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 c79702a32..9bbde90a6 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 0f269e5e4..5895d8ef7 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 762bf20a6..f06086e40 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 7efa5c805..3ef80055e 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 8fc0b9a97..2c7ad6598 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 {