diff options
author | bors <bors@rust-lang.org> | 2022-10-18 12:29:56 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-10-18 12:29:56 +0000 |
commit | 9bff92d2a9cb145f1bd49e3b096b4b0ff9086b65 (patch) | |
tree | 61af2fff248f16e6b15db4032f79b909881483e8 /src/unix | |
parent | 1e07687d273ce1159a6a4196ffbd61a50ddadb6f (diff) | |
parent | c6a69a3e859a35d9a239645466afffd11aa13eec (diff) | |
download | rust-libc-9bff92d2a9cb145f1bd49e3b096b4b0ff9086b65.tar.gz |
Auto merge of #2967 - devnexen:missing_ioctl_sioc_flags, r=JohnTitor
linux add missing SIOC* constants.
close #2909.
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/linux_like/linux/mod.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs index 4421906a4b..15174bc306 100644 --- a/src/unix/linux_like/linux/mod.rs +++ b/src/unix/linux_like/linux/mod.rs @@ -2621,6 +2621,24 @@ pub const SIOCGIFSLAVE: ::c_ulong = 0x00008929; pub const SIOCSIFSLAVE: ::c_ulong = 0x00008930; pub const SIOCADDMULTI: ::c_ulong = 0x00008931; pub const SIOCDELMULTI: ::c_ulong = 0x00008932; +pub const SIOCGIFINDEX: ::c_ulong = 0x00008933; +pub const SIOGIFINDEX: ::c_ulong = SIOCGIFINDEX; +pub const SIOCSIFPFLAGS: ::c_ulong = 0x00008934; +pub const SIOCGIFPFLAGS: ::c_ulong = 0x00008935; +pub const SIOCDIFADDR: ::c_ulong = 0x00008936; +pub const SIOCSIFHWBROADCAST: ::c_ulong = 0x00008937; +pub const SIOCGIFCOUNT: ::c_ulong = 0x00008938; +pub const SIOCGIFBR: ::c_ulong = 0x00008940; +pub const SIOCSIFBR: ::c_ulong = 0x00008941; +pub const SIOCGIFTXQLEN: ::c_ulong = 0x00008942; +pub const SIOCSIFTXQLEN: ::c_ulong = 0x00008943; +pub const SIOCETHTOOL: ::c_ulong = 0x00008946; +pub const SIOCGMIIPHY: ::c_ulong = 0x00008947; +pub const SIOCGMIIREG: ::c_ulong = 0x00008948; +pub const SIOCSMIIREG: ::c_ulong = 0x00008949; +pub const SIOCWANDEV: ::c_ulong = 0x0000894A; +pub const SIOCOUTQNSD: ::c_ulong = 0x0000894B; +pub const SIOCGSKNS: ::c_ulong = 0x0000894C; pub const SIOCDARP: ::c_ulong = 0x00008953; pub const SIOCGARP: ::c_ulong = 0x00008954; pub const SIOCSARP: ::c_ulong = 0x00008955; |