Skip to content

Commit bdbd042

Browse files
authored
Merge pull request #1010 from aya-rs/codegen
Update libbpf to b07dfe3b2a6cb0905e883510f22f9f7c0bb66d0d
2 parents 2a459a4 + 9a13887 commit bdbd042

File tree

7 files changed

+48
-0
lines changed

7 files changed

+48
-0
lines changed

ebpf/aya-ebpf-bindings/src/aarch64/bindings.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
17161716
pub sport: __be16,
17171717
pub dport: __be16,
17181718
}
1719+
pub mod tcx_action_base {
1720+
pub type Type = ::aya_ebpf_cty::c_int;
1721+
pub const TCX_NEXT: Type = -1;
1722+
pub const TCX_PASS: Type = 0;
1723+
pub const TCX_DROP: Type = 2;
1724+
pub const TCX_REDIRECT: Type = 7;
1725+
}
17191726
#[repr(C)]
17201727
#[derive(Debug, Copy, Clone)]
17211728
pub struct bpf_xdp_sock {

ebpf/aya-ebpf-bindings/src/armv7/bindings.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,6 +1708,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
17081708
pub sport: __be16,
17091709
pub dport: __be16,
17101710
}
1711+
pub mod tcx_action_base {
1712+
pub type Type = ::aya_ebpf_cty::c_int;
1713+
pub const TCX_NEXT: Type = -1;
1714+
pub const TCX_PASS: Type = 0;
1715+
pub const TCX_DROP: Type = 2;
1716+
pub const TCX_REDIRECT: Type = 7;
1717+
}
17111718
#[repr(C)]
17121719
#[derive(Debug, Copy, Clone)]
17131720
pub struct bpf_xdp_sock {

ebpf/aya-ebpf-bindings/src/powerpc64/bindings.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,6 +1711,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
17111711
pub sport: __be16,
17121712
pub dport: __be16,
17131713
}
1714+
pub mod tcx_action_base {
1715+
pub type Type = ::aya_ebpf_cty::c_int;
1716+
pub const TCX_NEXT: Type = -1;
1717+
pub const TCX_PASS: Type = 0;
1718+
pub const TCX_DROP: Type = 2;
1719+
pub const TCX_REDIRECT: Type = 7;
1720+
}
17141721
#[repr(C)]
17151722
#[derive(Debug, Copy, Clone)]
17161723
pub struct bpf_xdp_sock {

ebpf/aya-ebpf-bindings/src/riscv64/bindings.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
17161716
pub sport: __be16,
17171717
pub dport: __be16,
17181718
}
1719+
pub mod tcx_action_base {
1720+
pub type Type = ::aya_ebpf_cty::c_int;
1721+
pub const TCX_NEXT: Type = -1;
1722+
pub const TCX_PASS: Type = 0;
1723+
pub const TCX_DROP: Type = 2;
1724+
pub const TCX_REDIRECT: Type = 7;
1725+
}
17191726
#[repr(C)]
17201727
#[derive(Debug, Copy, Clone)]
17211728
pub struct bpf_xdp_sock {

ebpf/aya-ebpf-bindings/src/s390x/bindings.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
17161716
pub sport: __be16,
17171717
pub dport: __be16,
17181718
}
1719+
pub mod tcx_action_base {
1720+
pub type Type = ::aya_ebpf_cty::c_int;
1721+
pub const TCX_NEXT: Type = -1;
1722+
pub const TCX_PASS: Type = 0;
1723+
pub const TCX_DROP: Type = 2;
1724+
pub const TCX_REDIRECT: Type = 7;
1725+
}
17191726
#[repr(C)]
17201727
#[derive(Debug, Copy, Clone)]
17211728
pub struct bpf_xdp_sock {

ebpf/aya-ebpf-bindings/src/x86_64/bindings.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,6 +1711,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
17111711
pub sport: __be16,
17121712
pub dport: __be16,
17131713
}
1714+
pub mod tcx_action_base {
1715+
pub type Type = ::aya_ebpf_cty::c_int;
1716+
pub const TCX_NEXT: Type = -1;
1717+
pub const TCX_PASS: Type = 0;
1718+
pub const TCX_DROP: Type = 2;
1719+
pub const TCX_REDIRECT: Type = 7;
1720+
}
17141721
#[repr(C)]
17151722
#[derive(Debug, Copy, Clone)]
17161723
pub struct bpf_xdp_sock {

xtask/public-api/aya-ebpf-bindings.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,12 @@ pub mod aya_ebpf_bindings::bindings::sk_action
503503
pub const aya_ebpf_bindings::bindings::sk_action::SK_DROP: aya_ebpf_bindings::bindings::sk_action::Type
504504
pub const aya_ebpf_bindings::bindings::sk_action::SK_PASS: aya_ebpf_bindings::bindings::sk_action::Type
505505
pub type aya_ebpf_bindings::bindings::sk_action::Type = aya_ebpf_cty::ad::c_uint
506+
pub mod aya_ebpf_bindings::bindings::tcx_action_base
507+
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_DROP: aya_ebpf_bindings::bindings::tcx_action_base::Type
508+
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_NEXT: aya_ebpf_bindings::bindings::tcx_action_base::Type
509+
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_PASS: aya_ebpf_bindings::bindings::tcx_action_base::Type
510+
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_REDIRECT: aya_ebpf_bindings::bindings::tcx_action_base::Type
511+
pub type aya_ebpf_bindings::bindings::tcx_action_base::Type = aya_ebpf_cty::ad::c_int
506512
pub mod aya_ebpf_bindings::bindings::xdp_action
507513
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_ABORTED: aya_ebpf_bindings::bindings::xdp_action::Type
508514
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_DROP: aya_ebpf_bindings::bindings::xdp_action::Type

0 commit comments

Comments
 (0)