Skip to content

Commit d453f92

Browse files
committed
Auto merge of #3354 - Brijeshkrishna:patch-1, r=JohnTitor
Added SIOCSIFNAME SIOCSIFNAME with 0x8923 is missing,it is use to set interface name.
2 parents 48a305a + 49c8a1d commit d453f92

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2766,6 +2766,7 @@ pub const SIOCGIFMEM: ::c_ulong = 0x0000891F;
27662766
pub const SIOCSIFMEM: ::c_ulong = 0x00008920;
27672767
pub const SIOCGIFMTU: ::c_ulong = 0x00008921;
27682768
pub const SIOCSIFMTU: ::c_ulong = 0x00008922;
2769+
pub const SIOCSIFNAME: ::c_ulong = 0x00008923;
27692770
pub const SIOCSIFHWADDR: ::c_ulong = 0x00008924;
27702771
pub const SIOCGIFENCAP: ::c_ulong = 0x00008925;
27712772
pub const SIOCSIFENCAP: ::c_ulong = 0x00008926;

0 commit comments

Comments
 (0)