File tree Expand file tree Collapse file tree 7 files changed +48
-0
lines changed
ebpf/aya-ebpf-bindings/src Expand file tree Collapse file tree 7 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
1716
1716
pub sport : __be16 ,
1717
1717
pub dport : __be16 ,
1718
1718
}
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
+ }
1719
1726
#[ repr( C ) ]
1720
1727
#[ derive( Debug , Copy , Clone ) ]
1721
1728
pub struct bpf_xdp_sock {
Original file line number Diff line number Diff line change @@ -1708,6 +1708,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
1708
1708
pub sport : __be16 ,
1709
1709
pub dport : __be16 ,
1710
1710
}
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
+ }
1711
1718
#[ repr( C ) ]
1712
1719
#[ derive( Debug , Copy , Clone ) ]
1713
1720
pub struct bpf_xdp_sock {
Original file line number Diff line number Diff line change @@ -1711,6 +1711,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
1711
1711
pub sport : __be16 ,
1712
1712
pub dport : __be16 ,
1713
1713
}
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
+ }
1714
1721
#[ repr( C ) ]
1715
1722
#[ derive( Debug , Copy , Clone ) ]
1716
1723
pub struct bpf_xdp_sock {
Original file line number Diff line number Diff line change @@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
1716
1716
pub sport : __be16 ,
1717
1717
pub dport : __be16 ,
1718
1718
}
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
+ }
1719
1726
#[ repr( C ) ]
1720
1727
#[ derive( Debug , Copy , Clone ) ]
1721
1728
pub struct bpf_xdp_sock {
Original file line number Diff line number Diff line change @@ -1716,6 +1716,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
1716
1716
pub sport : __be16 ,
1717
1717
pub dport : __be16 ,
1718
1718
}
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
+ }
1719
1726
#[ repr( C ) ]
1720
1727
#[ derive( Debug , Copy , Clone ) ]
1721
1728
pub struct bpf_xdp_sock {
Original file line number Diff line number Diff line change @@ -1711,6 +1711,13 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
1711
1711
pub sport : __be16 ,
1712
1712
pub dport : __be16 ,
1713
1713
}
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
+ }
1714
1721
#[ repr( C ) ]
1715
1722
#[ derive( Debug , Copy , Clone ) ]
1716
1723
pub struct bpf_xdp_sock {
Original file line number Diff line number Diff line change @@ -503,6 +503,12 @@ pub mod aya_ebpf_bindings::bindings::sk_action
503
503
pub const aya_ebpf_bindings::bindings::sk_action::SK_DROP: aya_ebpf_bindings::bindings::sk_action::Type
504
504
pub const aya_ebpf_bindings::bindings::sk_action::SK_PASS: aya_ebpf_bindings::bindings::sk_action::Type
505
505
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
506
512
pub mod aya_ebpf_bindings::bindings::xdp_action
507
513
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_ABORTED: aya_ebpf_bindings::bindings::xdp_action::Type
508
514
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_DROP: aya_ebpf_bindings::bindings::xdp_action::Type
You can’t perform that action at this time.
0 commit comments