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) {
3643
3643
// Added in Linux 5.13
3644
3644
"PTRACE_GET_RSEQ_CONFIGURATION" if sparc64 => true ,
3645
3645
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
+
3646
3655
_ => false ,
3647
3656
}
3648
3657
} ) ;
Original file line number Diff line number Diff line change @@ -836,6 +836,7 @@ IFF_UP
836
836
IFF_VNET_HDR
837
837
IFLA_ADDRESS
838
838
IFLA_AF_SPEC
839
+ IFLA_ALLMULTI
839
840
IFLA_ALT_IFNAME
840
841
IFLA_BROADCAST
841
842
IFLA_CARRIER
@@ -845,6 +846,7 @@ IFLA_CARRIER_UP_COUNT
845
846
IFLA_COST
846
847
IFLA_EVENT
847
848
IFLA_EXT_MASK
849
+ IFLA_GRO_MAX_SIZE
848
850
IFLA_GROUP
849
851
IFLA_GSO_MAX_SEGS
850
852
IFLA_GSO_MAX_SIZE
@@ -875,6 +877,8 @@ IFLA_NUM_TX_QUEUES
875
877
IFLA_NUM_VF
876
878
IFLA_OPERSTATE
877
879
IFLA_PAD
880
+ IFLA_PARENT_DEV_BUS_NAME
881
+ IFLA_PARENT_DEV_NAME
878
882
IFLA_PERM_ADDRESS
879
883
IFLA_PHYS_PORT_ID
880
884
IFLA_PHYS_PORT_NAME
@@ -890,6 +894,8 @@ IFLA_QDISC
890
894
IFLA_STATS
891
895
IFLA_STATS64
892
896
IFLA_TARGET_NETNSID
897
+ IFLA_TSO_MAX_SEGS
898
+ IFLA_TSO_MAX_SIZE
893
899
IFLA_TXQLEN
894
900
IFLA_UNSPEC
895
901
IFLA_VFINFO_LIST
Original file line number Diff line number Diff line change @@ -1721,6 +1721,12 @@ pub const IFLA_PROP_LIST: ::c_ushort = 52;
1721
1721
pub const IFLA_ALT_IFNAME : :: c_ushort = 53 ;
1722
1722
pub const IFLA_PERM_ADDRESS : :: c_ushort = 54 ;
1723
1723
pub 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 ;
1724
1730
1725
1731
pub const IFLA_INFO_UNSPEC : :: c_ushort = 0 ;
1726
1732
pub const IFLA_INFO_KIND : :: c_ushort = 1 ;
You can’t perform that action at this time.
0 commit comments