File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -3643,6 +3643,15 @@ fn test_linux(target: &str) {
36433643 // Added in Linux 5.13
36443644 "PTRACE_GET_RSEQ_CONFIGURATION" if sparc64 => true ,
36453645
3646+ // FIXME: Requires more recent kernel headers
3647+ | "IFLA_PARENT_DEV_NAME" // linux v5.13+
3648+ | "IFLA_PARENT_DEV_BUS_NAME" // linux v5.13+
3649+ | "IFLA_GRO_MAX_SIZE" // linux v5.16+
3650+ | "IFLA_TSO_MAX_SIZE" // linux v5.18+
3651+ | "IFLA_TSO_MAX_SEGS" // linux v5.18+
3652+ | "IFLA_ALLMULTI" // linux v6.0+
3653+ => true ,
3654+
36463655 _ => false ,
36473656 }
36483657 } ) ;
Original file line number Diff line number Diff line change @@ -836,6 +836,7 @@ IFF_UP
836836IFF_VNET_HDR
837837IFLA_ADDRESS
838838IFLA_AF_SPEC
839+ IFLA_ALLMULTI
839840IFLA_ALT_IFNAME
840841IFLA_BROADCAST
841842IFLA_CARRIER
@@ -845,6 +846,7 @@ IFLA_CARRIER_UP_COUNT
845846IFLA_COST
846847IFLA_EVENT
847848IFLA_EXT_MASK
849+ IFLA_GRO_MAX_SIZE
848850IFLA_GROUP
849851IFLA_GSO_MAX_SEGS
850852IFLA_GSO_MAX_SIZE
@@ -875,6 +877,8 @@ IFLA_NUM_TX_QUEUES
875877IFLA_NUM_VF
876878IFLA_OPERSTATE
877879IFLA_PAD
880+ IFLA_PARENT_DEV_BUS_NAME
881+ IFLA_PARENT_DEV_NAME
878882IFLA_PERM_ADDRESS
879883IFLA_PHYS_PORT_ID
880884IFLA_PHYS_PORT_NAME
@@ -890,6 +894,8 @@ IFLA_QDISC
890894IFLA_STATS
891895IFLA_STATS64
892896IFLA_TARGET_NETNSID
897+ IFLA_TSO_MAX_SEGS
898+ IFLA_TSO_MAX_SIZE
893899IFLA_TXQLEN
894900IFLA_UNSPEC
895901IFLA_VFINFO_LIST
Original file line number Diff line number Diff line change @@ -1721,6 +1721,12 @@ pub const IFLA_PROP_LIST: ::c_ushort = 52;
17211721pub const IFLA_ALT_IFNAME : :: c_ushort = 53 ;
17221722pub const IFLA_PERM_ADDRESS : :: c_ushort = 54 ;
17231723pub const IFLA_PROTO_DOWN_REASON : :: c_ushort = 55 ;
1724+ pub const IFLA_PARENT_DEV_NAME : :: c_ushort = 56 ;
1725+ pub const IFLA_PARENT_DEV_BUS_NAME : :: c_ushort = 57 ;
1726+ pub const IFLA_GRO_MAX_SIZE : :: c_ushort = 58 ;
1727+ pub const IFLA_TSO_MAX_SIZE : :: c_ushort = 59 ;
1728+ pub const IFLA_TSO_MAX_SEGS : :: c_ushort = 60 ;
1729+ pub const IFLA_ALLMULTI : :: c_ushort = 61 ;
17241730
17251731pub const IFLA_INFO_UNSPEC : :: c_ushort = 0 ;
17261732pub const IFLA_INFO_KIND : :: c_ushort = 1 ;
You can’t perform that action at this time.
0 commit comments