aya/programs: export some missing modules

Previously we were only re-exporting the program types from these, so
links and other pub types were not exported.
reviewable/pr878/r1
Alessandro Decina 8 months ago
parent 0f6a734392
commit d570450a0c

@ -35,6 +35,12 @@
//! [`Bpf::program`]: crate::Bpf::program //! [`Bpf::program`]: crate::Bpf::program
//! [`Bpf::program_mut`]: crate::Bpf::program_mut //! [`Bpf::program_mut`]: crate::Bpf::program_mut
//! [`maps`]: crate::maps //! [`maps`]: crate::maps
// modules we don't export
mod probe;
mod utils;
// modules we explicitly export so their pub items (Links etc) get exported too
pub mod cgroup_device; pub mod cgroup_device;
pub mod cgroup_skb; pub mod cgroup_skb;
pub mod cgroup_sock; pub mod cgroup_sock;
@ -50,18 +56,16 @@ pub mod lirc_mode2;
pub mod lsm; pub mod lsm;
pub mod perf_attach; pub mod perf_attach;
pub mod perf_event; pub mod perf_event;
mod probe; pub mod raw_trace_point;
mod raw_trace_point; pub mod sk_lookup;
mod sk_lookup; pub mod sk_msg;
mod sk_msg; pub mod sk_skb;
mod sk_skb; pub mod sock_ops;
mod sock_ops; pub mod socket_filter;
mod socket_filter;
pub mod tc; pub mod tc;
pub mod tp_btf; pub mod tp_btf;
pub mod trace_point; pub mod trace_point;
pub mod uprobe; pub mod uprobe;
mod utils;
pub mod xdp; pub mod xdp;
use std::{ use std::{

@ -1,3 +1,4 @@
//! Programmable socket lookup.
use std::os::fd::AsFd; use std::os::fd::AsFd;
use super::links::FdLink; use super::links::FdLink;

Loading…
Cancel
Save