Skip to content

Commit 2a22b92

Browse files
committed
Add more IFLA_ values
1 parent a98a649 commit 2a22b92

File tree

1 file changed

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

1 file changed

+17
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,6 +1191,23 @@ pub const IFLA_PHYS_SWITCH_ID: ::c_ushort = 36;
11911191
pub const IFLA_LINK_NETNSID: ::c_ushort = 37;
11921192
pub const IFLA_PHYS_PORT_NAME: ::c_ushort = 38;
11931193
pub const IFLA_PROTO_DOWN: ::c_ushort = 39;
1194+
pub const IFLA_GSO_MAX_SEGS: ::c_ushort = 40;
1195+
pub const IFLA_GSO_MAX_SIZE: ::c_ushort = 41;
1196+
pub const IFLA_PAD: ::c_ushort = 42;
1197+
pub const IFLA_XDP: ::c_ushort = 43;
1198+
pub const IFLA_EVENT: ::c_ushort = 44;
1199+
pub const IFLA_NEW_NETNSID: ::c_ushort = 45;
1200+
pub const IFLA_IF_NETNSID: ::c_ushort = 46;
1201+
pub const IFLA_TARGET_NETNSID: ::c_ushort = IFLA_IF_NETNSID;
1202+
pub const IFLA_CARRIER_UP_COUNT: ::c_ushort = 47;
1203+
pub const IFLA_CARRIER_DOWN_COUNT: ::c_ushort = 48;
1204+
pub const IFLA_NEW_IFINDEX: ::c_ushort = 49;
1205+
pub const IFLA_MIN_MTU: ::c_ushort = 50;
1206+
pub const IFLA_MAX_MTU: ::c_ushort = 51;
1207+
pub const IFLA_PROP_LIST: ::c_ushort = 52;
1208+
pub const IFLA_ALT_IFNAME: ::c_ushort = 53;
1209+
pub const IFLA_PERM_ADDRESS: ::c_ushort = 54;
1210+
pub const IFLA_PROTO_DOWN_REASON: ::c_ushort = 55;
11941211

11951212
pub const IFLA_INFO_UNSPEC: ::c_ushort = 0;
11961213
pub const IFLA_INFO_KIND: ::c_ushort = 1;

0 commit comments

Comments
 (0)