Skip to content

Commit

Permalink
Auto merge of #3354 - Brijeshkrishna:patch-1, r=JohnTitor
Browse files Browse the repository at this point in the history
Added SIOCSIFNAME

SIOCSIFNAME with 0x8923 is missing,it is use to set interface name.
  • Loading branch information
bors committed Sep 21, 2023
2 parents 48a305a + 49c8a1d commit d453f92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/mod.rs
Expand Up @@ -2766,6 +2766,7 @@ pub const SIOCGIFMEM: ::c_ulong = 0x0000891F;
pub const SIOCSIFMEM: ::c_ulong = 0x00008920;
pub const SIOCGIFMTU: ::c_ulong = 0x00008921;
pub const SIOCSIFMTU: ::c_ulong = 0x00008922;
pub const SIOCSIFNAME: ::c_ulong = 0x00008923;
pub const SIOCSIFHWADDR: ::c_ulong = 0x00008924;
pub const SIOCGIFENCAP: ::c_ulong = 0x00008925;
pub const SIOCSIFENCAP: ::c_ulong = 0x00008926;
Expand Down

0 comments on commit d453f92

Please sign in to comment.