Docs.rs
  • xdp-socket-0.1.1
    • xdp-socket 0.1.1
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sudachen
    • Dependencies
      • etherparse ^0.18 normal
      • ipnet ^2.11.0 normal
      • libbpf-sys ^1.5 normal
      • libc ^0.2.105 normal
      • log ^0.4 normal
      • netlink-packet-core ^0.7.0 normal
      • netlink-packet-route ^0.24.0 normal
      • netlink-sys ^0.8.7 normal
      • prefix-trie ^0.8.1 normal
      • caps ^0.5.5 dev
      • env_logger ^0.11 dev
      • eui48 ^0.5.1 dev
      • exec ^0.3.1 dev
      • tokio ^1.24.0 dev
      • tokio-util ^0.7.10 dev
    • Versions
    • 95.14% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

xdp_socket0.1.1

Crate Items

  • Structs
  • Enums
  • Constants
  • Functions
  • Type Aliases

List of all items

Structs

  • create_socket::XdpConfig
  • mmap::HugePageInfo
  • mmap::OwnedMmap
  • ring::Ring
  • ring::RingMmap
  • ring::XdpDesc
  • socket::Socket
  • util::netlink::Gateway
  • util::netlink::Ipv4Route
  • util::netlink::Link
  • util::netlink::Neighbor
  • util::packet::HdrWrite
  • util::router::NextHop
  • util::router::Router
  • util::xdp_prog::OwnedXdpProg

Enums

  • create_socket::Direction
  • ring::RingType
  • socket::RingError

Functions

  • create_socket::create_bi_socket
  • create_socket::create_rx_socket
  • create_socket::create_socket
  • create_socket::create_tx_socket
  • create_socket::ring_offsets
  • create_socket::setup_umem
  • mmap::get_hugepage_info
  • ring::mmap_ring
  • util::mac_by_ifindex::mac_by_ifindex
  • util::netlink::find_default_gateway
  • util::netlink::get_ipv4_address
  • util::netlink::get_ipv4_routes
  • util::netlink::get_links
  • util::netlink::get_neighbors
  • util::netlink::netlink
  • util::packet::write_udp_header_for
  • util::xdp_prog::xdp_attach_program
  • util::xdp_prog::xdp_features

Type Aliases

  • socket::RxSocket
  • socket::TxSocket
  • socket::_Direction

Constants

  • ring::FRAME_COUNT
  • ring::FRAME_SIZE
  • socket::_RX
  • socket::_TX