Expand description
§XDP Utility Library
This module provides utility functions and helpers for XDP socket operations, networking, and packet processing. It includes routines for interacting with netlink, handling packet headers, managing routing information, working with XDP programs, and retrieving MAC addresses by interface index. The utilities facilitate low-level networking tasks and abstract common operations needed by other XDP modules.
Re-exports§
pub use mac_by_ifindex::mac_by_ifindex;pub use netlink::find_default_gateway;pub use netlink::get_ipv4_address;pub use netlink::get_ipv4_routes;pub use netlink::get_links;pub use netlink::get_neighbors;pub use netlink::netlink;pub use packet::write_udp_header_for;pub use router::Ipv4Route;pub use router::Neighbor;pub use router::NextHop;pub use router::Router;pub use xdp_prog::OwnedXdpProg;pub use xdp_prog::xdp_attach_program;pub use xdp_prog::xdp_features;
Modules§
- mac_
by_ ifindex - netlink
- Low-Level Netlink Interface
- packet
- UDP Packet Header Construction
- router
- IPv4 Routing and Neighbor Table Cache
- xdp_
prog - XDP Program Loading and Feature Querying