Skip to content

Commit

Permalink
Merge pull request aya-rs#1010 from aya-rs/codegen
Browse files Browse the repository at this point in the history
Update libbpf to b07dfe3b2a6cb0905e883510f22f9f7c0bb66d0d
  • Loading branch information
dave-tucker authored Aug 15, 2024
2 parents 2a459a4 + 9a13887 commit bdbd042
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 7 additions & 0 deletions ebpf/aya-ebpf-bindings/src/armv7/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 7 additions & 0 deletions ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 7 additions & 0 deletions ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 7 additions & 0 deletions ebpf/aya-ebpf-bindings/src/s390x/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 7 additions & 0 deletions ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 6 additions & 0 deletions xtask/public-api/aya-ebpf-bindings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,12 @@ pub mod aya_ebpf_bindings::bindings::sk_action
pub const aya_ebpf_bindings::bindings::sk_action::SK_DROP: aya_ebpf_bindings::bindings::sk_action::Type
pub const aya_ebpf_bindings::bindings::sk_action::SK_PASS: aya_ebpf_bindings::bindings::sk_action::Type
pub type aya_ebpf_bindings::bindings::sk_action::Type = aya_ebpf_cty::ad::c_uint
pub mod aya_ebpf_bindings::bindings::tcx_action_base
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_DROP: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_NEXT: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_PASS: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_REDIRECT: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub type aya_ebpf_bindings::bindings::tcx_action_base::Type = aya_ebpf_cty::ad::c_int
pub mod aya_ebpf_bindings::bindings::xdp_action
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_ABORTED: aya_ebpf_bindings::bindings::xdp_action::Type
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_DROP: aya_ebpf_bindings::bindings::xdp_action::Type
Expand Down

0 comments on commit bdbd042

Please sign in to comment.