Docs.rs
  • tun-sync-0.1.1
    • tun-sync 0.1.1
    • Permalink
    • Docs.rs crate page
    • WTFPL
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • giangndm
    • Dependencies
      • libc ^0.2 normal
      • thiserror ^1 normal
      • async-std ^1 dev
      • futures ^0.3.0 dev
      • ioctl-sys ^0.6 normal
    • Versions
    • 28.32% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • 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

tun_sync0.1.1

Module sys

Module Items

  • Structs
  • Constants
  • Functions
  • Unions

In tun_sync::platform::linux

tun_sync::platform::linux

Module sys

Source
Expand description

Bindings to internal Linux stuff.

Structs§

if_settings
ifmap
ifreq

Constants§

IFF_MULTI_QUEUE
IFF_NO_PI
IFF_RUNNING
IFF_TAP
IFF_TUN
IFF_UP
IFNAMSIZ

Functions§

siocgifaddr⚠
siocgifbrdaddr⚠
siocgifdstaddr⚠
siocgifflags⚠
siocgifmtu⚠
siocgifnetmask⚠
siocsifaddr⚠
siocsifbrdaddr⚠
siocsifdstaddr⚠
siocsifflags⚠
siocsifmtu⚠
siocsifname⚠
siocsifnetmask⚠
tunsetgroup⚠
tunsetiff⚠
tunsetowner⚠
tunsetpersist⚠

Unions§

ifrn
ifru
ifsu