Docs.rs
  • rust-rsm-0.3.2
    • rust-rsm 0.3.2
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • wang-russell
    • Dependencies
      • aes ^0.8.1 normal
      • cc ~1.0 normal
      • cfg-if ^1.0.0 normal
      • digest ^0.10.3 normal
      • libc ^0.2.126 normal
      • libdeflater ^0.10.0 normal
      • mio ^0.8.2 normal
      • rand ^0.8.5 normal
      • serde ^1.0.136 normal
      • serde_json ^1.0.80 normal
      • sha2 ^0.10.1 normal
      • sm4 ^0.5.1 normal
      • time ^0.3.11 normal
      • tiny_http ^0.11 normal
      • cc ^1.0 build
      • windows-sys ^0.36 normal
      • windows-sys ^0.36 normal
      • windows-sys ^0.36 normal
      • windows-sys ^0.36 normal
    • Versions
    • 13.48% of the crate is documented
  • 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

rust_rsm0.3.2

Module net_ext

Module Items

  • Re-exports
  • Modules
  • Constants
  • Functions
  • Type Aliases

In crate rust_rsm

rust_rsm

Module net_ext

Source

Re-exports§

pub use mac_addr::mac_addr_t;
pub use ipnetwork::IpNetwork;

Modules§

EthernetTypes
IpProtos
ServicePorts
arp
ethernet_pkt
fec
ipnetwork
iprt
mac_addr
netinterface
pktbuf
rawpacket
restserver
unix

Constants§

AF_INET
AF_INET6
ARP_PACKET_SIZE
DEFAULT_ETHERNET_MTU
ETHERNET_HDR_SIZE
IPV4_ADDR_LEN
IPV4_HDR_SIZE
IPV6_ADDR_LEN
IPV6_HDR_SIZE
MAC_ADDR_SIZE
TCP_HDR_SIZE
UDP_HDR_SIZE

Functions§

bytes_array_to_ipaddr
copy_ipaddr_to_slice
copy IpAddr to a specified slice
create_tap_if
default_socket_addr
get_ip_address_family
get_pnetif_by_name
ip_pool_size
calculate ip pool size
ipaddr_to_array
ipv4_to_u32
ipv6_to_u64
tuntap_setup⚠

Type Aliases§

RawFdType
RawFileFd