diff --git a/src/net/if_.rs b/src/net/if_.rs index 19b1ee73c0..3a358f1744 100644 --- a/src/net/if_.rs +++ b/src/net/if_.rs @@ -215,6 +215,15 @@ libc_bitflags!( /// Don't exchange routing info. #[cfg(any(target_os = "solaris"))] IFF_NORTEXCH; + /// Do not provide packet information + #[cfg(any(target_os = "linux", target_os = "android"))] + IFF_NO_PI as i32; + /// TUN device (no Ethernet headers) + #[cfg(any(target_os = "linux", target_os = "android"))] + IFF_TUN as i32; + /// TAP device + #[cfg(any(target_os = "linux", target_os = "android"))] + IFF_TAP as i32; /// IPv4 interface. #[cfg(any(target_os = "solaris"))] IFF_IPV4;