Browse Source

[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
dave-tucker 7 months ago
parent
commit
e2177278ae

+ 7 - 0
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 {

+ 7 - 0
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 {

+ 7 - 0
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 {

+ 7 - 0
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 {

+ 7 - 0
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 {

+ 7 - 0
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 {