Android-cuttlefish cvd tool
if_link.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _UAPI_LINUX_IF_LINK_H
3#define _UAPI_LINUX_IF_LINK_H
4
5#include <linux/types.h>
6#include <linux/netlink.h>
7
8/* This struct should be in sync with struct rtnl_link_stats64 */
20 /* detailed rx_errors: */
27
28 /* detailed tx_errors */
34
35 /* for cslip etc */
38
40};
41
229
230 /* detailed rx_errors: */
237
238 /* detailed tx_errors */
244
245 /* for cslip etc */
249
251};
252
253/* Subset of link stats useful for in-HW collection. Meaning of the fields is as
254 * for struct rtnl_link_stats64.
255 */
266};
267
268/* The struct should be in sync with struct ifmap */
276};
277
278/*
279 * IFLA_AF_SPEC
280 * Contains nested attributes for address family specific attributes.
281 * Each address family may create a attribute with the address family
282 * number as type and create its own attribute structure in it.
283 *
284 * Example:
285 * [IFLA_AF_SPEC] = {
286 * [AF_INET] = {
287 * [IFLA_INET_CONF] = ...,
288 * },
289 * [AF_INET6] = {
290 * [IFLA_INET6_FLAGS] = ...,
291 * [IFLA_INET6_CONF] = ...,
292 * }
293 * }
294 */
295
296enum {
306#define IFLA_COST IFLA_COST
308#define IFLA_PRIORITY IFLA_PRIORITY
310#define IFLA_MASTER IFLA_MASTER
311 IFLA_WIRELESS, /* Wireless Extension event - see wireless.h */
312#define IFLA_WIRELESS IFLA_WIRELESS
313 IFLA_PROTINFO, /* Protocol specific information for a link */
314#define IFLA_PROTINFO IFLA_PROTINFO
316#define IFLA_TXQLEN IFLA_TXQLEN
318#define IFLA_MAP IFLA_MAP
320#define IFLA_WEIGHT IFLA_WEIGHT
324#define IFLA_LINKINFO IFLA_LINKINFO
327 IFLA_NUM_VF, /* Number of VFs if device is SR-IOV PF */
333 IFLA_GROUP, /* Group the device belongs to */
335 IFLA_EXT_MASK, /* Extended info mask, VFs, etc */
336 IFLA_PROMISCUITY, /* Promiscuity count: > 0 means acts PROMISC */
337#define IFLA_PROMISCUITY IFLA_PROMISCUITY
361 IFLA_ALT_IFNAME, /* Alternative ifname */
364
365 /* device (sysfs) name as parent, used instead
366 * of IFLA_LINK where there's no parent netdev
367 */
373 IFLA_ALLMULTI, /* Allmulti count: > 0 means acts ALLMULTI */
374
376
383
384
385#define IFLA_MAX (__IFLA_MAX - 1)
386
387enum {
389 IFLA_PROTO_DOWN_REASON_MASK, /* u32, mask for reason bits */
390 IFLA_PROTO_DOWN_REASON_VALUE, /* u32, reason bit value */
391
395
396/* backwards compatibility for userspace */
397#ifndef __KERNEL__
398#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
399#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
400#endif
401
402enum {
406};
407
408#define IFLA_INET_MAX (__IFLA_INET_MAX - 1)
409
410/* ifi_flags.
411
412 IFF_* flags.
413
414 The only change is:
415 IFF_LOOPBACK, IFF_BROADCAST and IFF_POINTOPOINT are
416 more not changeable by user. They describe link media
417 characteristics and set by device driver.
418
419 Comments:
420 - Combination IFF_BROADCAST|IFF_POINTOPOINT is invalid
421 - If neither of these three flags are set;
422 the interface is NBMA.
423
424 - IFF_MULTICAST does not mean anything special:
425 multicasts can be used on all not-NBMA links.
426 IFF_MULTICAST means that this media uses special encapsulation
427 for multicast frames. Apparently, all IFF_POINTOPOINT and
428 IFF_BROADCAST devices are able to use multicasts too.
429 */
430
431/* IFLA_LINK.
432 For usual devices it is equal ifi_index.
433 If it is a "virtual interface" (f.e. tunnel), ifi_link
434 can point to real physical interface (f.e. for bandwidth calculations),
435 or maybe 0, what means, that real media is unknown (usual
436 for IPIP tunnels, when route to endpoint is allowed to change)
437 */
438
439/* Subtype attributes for IFLA_PROTINFO */
440enum {
442 IFLA_INET6_FLAGS, /* link flags */
443 IFLA_INET6_CONF, /* sysctl parameters */
444 IFLA_INET6_STATS, /* statistics */
445 IFLA_INET6_MCAST, /* MC things. What of them? */
446 IFLA_INET6_CACHEINFO, /* time values and max reasm size */
447 IFLA_INET6_ICMP6STATS, /* statistics (icmpv6) */
448 IFLA_INET6_TOKEN, /* device token */
449 IFLA_INET6_ADDR_GEN_MODE, /* implicit address generator mode */
450 IFLA_INET6_RA_MTU, /* mtu carried in the RA message */
453
454#define IFLA_INET6_MAX (__IFLA_INET6_MAX - 1)
455
461};
462
463/* Bridge section */
464
745enum {
797};
798
799#define IFLA_BR_MAX (__IFLA_BR_MAX - 1)
800
803 __u8 addr[6]; /* ETH_ALEN */
804};
805
816enum {
819};
820
1052enum {
1054 IFLA_BRPORT_STATE, /* Spanning tree state */
1055 IFLA_BRPORT_PRIORITY, /* " priority */
1056 IFLA_BRPORT_COST, /* " cost */
1057 IFLA_BRPORT_MODE, /* mode (hairpin) */
1058 IFLA_BRPORT_GUARD, /* bpdu guard */
1059 IFLA_BRPORT_PROTECT, /* root port protection */
1060 IFLA_BRPORT_FAST_LEAVE, /* multicast fast leave */
1061 IFLA_BRPORT_LEARNING, /* mac learning */
1062 IFLA_BRPORT_UNICAST_FLOOD, /* flood unicast traffic */
1063 IFLA_BRPORT_PROXYARP, /* proxy ARP */
1064 IFLA_BRPORT_LEARNING_SYNC, /* mac learning sync from device */
1065 IFLA_BRPORT_PROXYARP_WIFI, /* proxy ARP for Wi-Fi */
1066 IFLA_BRPORT_ROOT_ID, /* designated root */
1067 IFLA_BRPORT_BRIDGE_ID, /* designated bridge */
1100#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
1101
1104 __u32 tstamp; /* ipv6InterfaceTable updated timestamp */
1107};
1108
1109enum {
1117};
1118
1119#define IFLA_INFO_MAX (__IFLA_INFO_MAX - 1)
1120
1121/* VLAN section */
1122
1123enum {
1131};
1132
1133#define IFLA_VLAN_MAX (__IFLA_VLAN_MAX - 1)
1134
1138};
1139
1140enum {
1145
1146#define IFLA_VLAN_QOS_MAX (__IFLA_VLAN_QOS_MAX - 1)
1147
1151};
1152
1153/* MACVLAN section */
1154enum {
1166};
1167
1168#define IFLA_MACVLAN_MAX (__IFLA_MACVLAN_MAX - 1)
1169
1171 MACVLAN_MODE_PRIVATE = 1, /* don't talk to other macvlans */
1172 MACVLAN_MODE_VEPA = 2, /* talk to other ports through ext bridge */
1173 MACVLAN_MODE_BRIDGE = 4, /* talk to bridge ports directly */
1174 MACVLAN_MODE_PASSTHRU = 8,/* take over the underlying device */
1175 MACVLAN_MODE_SOURCE = 16,/* use source MAC address list to assign */
1176};
1177
1183};
1184
1185#define MACVLAN_FLAG_NOPROMISC 1
1186#define MACVLAN_FLAG_NODST 2 /* skip dst macvlan if matching src macvlan */
1187
1188/* VRF section */
1189enum {
1194
1195#define IFLA_VRF_MAX (__IFLA_VRF_MAX - 1)
1196
1197enum {
1202
1203#define IFLA_VRF_PORT_MAX (__IFLA_VRF_PORT_MAX - 1)
1204
1205/* MACSEC section */
1206enum {
1224};
1225
1226#define IFLA_MACSEC_MAX (__IFLA_MACSEC_MAX - 1)
1227
1228/* XFRM section */
1229enum {
1236
1237#define IFLA_XFRM_MAX (__IFLA_XFRM_MAX - 1)
1238
1245};
1246
1253};
1254
1255/* IPVLAN section */
1256enum {
1262
1263#define IFLA_IPVLAN_MAX (__IFLA_IPVLAN_MAX - 1)
1264
1271
1272#define IPVLAN_F_PRIVATE 0x01
1273#define IPVLAN_F_VEPA 0x02
1274
1275/* Tunnel RTM header */
1281};
1282
1283/* netkit section */
1289};
1290
1294};
1295
1296/* NETKIT_SCRUB_NONE leaves clearing skb->{mark,priority} up to
1297 * the BPF program if attached. This also means the latter can
1298 * consume the two fields if they were populated earlier.
1299 *
1300 * NETKIT_SCRUB_DEFAULT zeroes skb->{mark,priority} fields before
1301 * invoking the attached BPF program when the peer device resides
1302 * in a different network namespace. This is the default behavior.
1303 */
1307};
1308
1309enum {
1321};
1322#define IFLA_NETKIT_MAX (__IFLA_NETKIT_MAX - 1)
1323
1324/* VXLAN section */
1325
1326/* include statistics in the dump */
1327#define TUNNEL_MSG_FLAG_STATS 0x01
1328
1329#define TUNNEL_MSG_VALID_USER_FLAGS TUNNEL_MSG_FLAG_STATS
1330
1331/* Embedded inside VXLAN_VNIFILTER_ENTRY_STATS */
1332enum {
1345#define VNIFILTER_ENTRY_STATS_MAX (__VNIFILTER_ENTRY_STATS_MAX - 1)
1346
1347enum {
1356#define VXLAN_VNIFILTER_ENTRY_MAX (__VXLAN_VNIFILTER_ENTRY_MAX - 1)
1357
1358enum {
1363#define VXLAN_VNIFILTER_MAX (__VXLAN_VNIFILTER_MAX - 1)
1364
1365enum {
1368 IFLA_VXLAN_GROUP, /* group or remote address */
1376 IFLA_VXLAN_PORT_RANGE, /* source port */
1381 IFLA_VXLAN_PORT, /* destination port */
1396 IFLA_VXLAN_VNIFILTER, /* only applicable with COLLECT_METADATA mode */
1398 IFLA_VXLAN_LABEL_POLICY, /* IPv6 flow label policy; ifla_vxlan_label_policy */
1402#define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
1403
1407};
1408
1415};
1416
1422};
1423
1424/* GENEVE section */
1425enum {
1431 IFLA_GENEVE_PORT, /* destination port */
1443#define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1)
1444
1451};
1452
1453/* Bareudp section */
1454enum {
1462
1463#define IFLA_BAREUDP_MAX (__IFLA_BAREUDP_MAX - 1)
1464
1465/* PPP section */
1466enum {
1471#define IFLA_PPP_MAX (__IFLA_PPP_MAX - 1)
1472
1473/* GTP section */
1474
1478};
1479
1480enum {
1491};
1492#define IFLA_GTP_MAX (__IFLA_GTP_MAX - 1)
1493
1494/* Bonding section */
1495
1496enum {
1531};
1532
1533#define IFLA_BOND_MAX (__IFLA_BOND_MAX - 1)
1534
1535enum {
1543};
1544
1545#define IFLA_BOND_AD_INFO_MAX (__IFLA_BOND_AD_INFO_MAX - 1)
1546
1547enum {
1559};
1560
1561#define IFLA_BOND_SLAVE_MAX (__IFLA_BOND_SLAVE_MAX - 1)
1562
1563/* SR-IOV virtual function management section */
1564
1565enum {
1569};
1570
1571#define IFLA_VF_INFO_MAX (__IFLA_VF_INFO_MAX - 1)
1572
1573enum {
1575 IFLA_VF_MAC, /* Hardware queue specific attributes */
1576 IFLA_VF_VLAN, /* VLAN ID and QoS */
1577 IFLA_VF_TX_RATE, /* Max TX Bandwidth Allocation */
1578 IFLA_VF_SPOOFCHK, /* Spoof Checking on/off switch */
1579 IFLA_VF_LINK_STATE, /* link state enable/disable/auto switch */
1580 IFLA_VF_RATE, /* Min and Max TX Bandwidth Allocation */
1581 IFLA_VF_RSS_QUERY_EN, /* RSS Redirection Table and Hash Key query
1582 * on/off switch
1583 */
1584 IFLA_VF_STATS, /* network device statistics */
1585 IFLA_VF_TRUST, /* Trust VF */
1586 IFLA_VF_IB_NODE_GUID, /* VF Infiniband node GUID */
1587 IFLA_VF_IB_PORT_GUID, /* VF Infiniband port GUID */
1588 IFLA_VF_VLAN_LIST, /* nested list of vlans, option for QinQ */
1589 IFLA_VF_BROADCAST, /* VF broadcast */
1591};
1592
1593#define IFLA_VF_MAX (__IFLA_VF_MAX - 1)
1594
1597 __u8 mac[32]; /* MAX_ADDR_LEN */
1598};
1599
1602};
1603
1606 __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */
1608};
1609
1610enum {
1612 IFLA_VF_VLAN_INFO, /* VLAN ID, QoS and VLAN protocol */
1614};
1615
1616#define IFLA_VF_VLAN_INFO_MAX (__IFLA_VF_VLAN_INFO_MAX - 1)
1617#define MAX_VLAN_LIST_LEN 1
1618
1621 __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */
1623 __be16 vlan_proto; /* VLAN protocol either 802.1Q or 802.1ad */
1624};
1625
1628 __u32 rate; /* Max TX bandwidth in Mbps, 0 disables throttling */
1629};
1630
1633 __u32 min_tx_rate; /* Min Bandwidth in Mbps */
1634 __u32 max_tx_rate; /* Max Bandwidth in Mbps */
1635};
1636
1640};
1641
1645};
1646
1647enum {
1648 IFLA_VF_LINK_STATE_AUTO, /* link state of the uplink */
1649 IFLA_VF_LINK_STATE_ENABLE, /* link always up */
1650 IFLA_VF_LINK_STATE_DISABLE, /* link always down */
1652};
1653
1657};
1658
1662};
1663
1664enum {
1675};
1676
1677#define IFLA_VF_STATS_MAX (__IFLA_VF_STATS_MAX - 1)
1678
1682};
1683
1684/* VF ports management section
1685 *
1686 * Nested layout of set/get msg is:
1687 *
1688 * [IFLA_NUM_VF]
1689 * [IFLA_VF_PORTS]
1690 * [IFLA_VF_PORT]
1691 * [IFLA_PORT_*], ...
1692 * [IFLA_VF_PORT]
1693 * [IFLA_PORT_*], ...
1694 * ...
1695 * [IFLA_PORT_SELF]
1696 * [IFLA_PORT_*], ...
1697 */
1698
1699enum {
1701 IFLA_VF_PORT, /* nest */
1703};
1704
1705#define IFLA_VF_PORT_MAX (__IFLA_VF_PORT_MAX - 1)
1706
1707enum {
1709 IFLA_PORT_VF, /* __u32 */
1710 IFLA_PORT_PROFILE, /* string */
1711 IFLA_PORT_VSI_TYPE, /* 802.1Qbg (pre-)standard VDP */
1712 IFLA_PORT_INSTANCE_UUID, /* binary UUID */
1713 IFLA_PORT_HOST_UUID, /* binary UUID */
1715 IFLA_PORT_RESPONSE, /* __u16, output only */
1717};
1718
1719#define IFLA_PORT_MAX (__IFLA_PORT_MAX - 1)
1720
1721#define PORT_PROFILE_MAX 40
1722#define PORT_UUID_MAX 16
1723#define PORT_SELF_VF -1
1724
1725enum {
1730};
1731
1732enum {
1740 /* 0x08-0xFF reserved for future VDP use */
1747};
1748
1754};
1755
1756
1757/* IPoIB section */
1758
1759enum {
1766
1767enum {
1768 IPOIB_MODE_DATAGRAM = 0, /* using unreliable datagram QPs */
1769 IPOIB_MODE_CONNECTED = 1, /* using connected QPs */
1770};
1771
1772#define IFLA_IPOIB_MAX (__IFLA_IPOIB_MAX - 1)
1773
1774
1775/* HSR/PRP section, both uses same interface */
1776
1777/* Different redundancy protocols for hsr device */
1778enum {
1782};
1783
1784enum {
1788 IFLA_HSR_MULTICAST_SPEC, /* Last byte of supervision addr */
1789 IFLA_HSR_SUPERVISION_ADDR, /* Supervision frame multicast addr */
1791 IFLA_HSR_VERSION, /* HSR version */
1792 IFLA_HSR_PROTOCOL, /* Indicate different protocol than
1793 * HSR. For example PRP.
1794 */
1795 IFLA_HSR_INTERLINK, /* HSR interlink network device */
1797};
1798
1799#define IFLA_HSR_MAX (__IFLA_HSR_MAX - 1)
1800
1801/* STATS section */
1802
1809};
1810
1811/* A stats attribute can be netdev specific or a global stat.
1812 * For netdev stats, lets use the prefix IFLA_STATS_LINK_*
1813 */
1814enum {
1815 IFLA_STATS_UNSPEC, /* also used as 64bit pad attribute */
1822};
1823
1824#define IFLA_STATS_MAX (__IFLA_STATS_MAX - 1)
1825
1826#define IFLA_STATS_FILTER_BIT(ATTR) (1 << (ATTR - 1))
1827
1828enum {
1830 IFLA_STATS_GET_FILTERS, /* Nest of IFLA_STATS_LINK_xxx, each a u32 with
1831 * a filter mask for the corresponding group.
1832 */
1835};
1836
1837#define IFLA_STATS_GETSET_MAX (__IFLA_STATS_GETSET_MAX - 1)
1838
1839/* These are embedded into IFLA_STATS_LINK_XSTATS:
1840 * [IFLA_STATS_LINK_XSTATS]
1841 * -> [LINK_XSTATS_TYPE_xxx]
1842 * -> [rtnl link type specific attributes]
1843 */
1844enum {
1850#define LINK_XSTATS_TYPE_MAX (__LINK_XSTATS_TYPE_MAX - 1)
1851
1852/* These are stats embedded into IFLA_STATS_LINK_OFFLOAD_XSTATS */
1853enum {
1855 IFLA_OFFLOAD_XSTATS_CPU_HIT, /* struct rtnl_link_stats64 */
1856 IFLA_OFFLOAD_XSTATS_HW_S_INFO, /* HW stats info. A nest */
1857 IFLA_OFFLOAD_XSTATS_L3_STATS, /* struct rtnl_hw_stats64 */
1860#define IFLA_OFFLOAD_XSTATS_MAX (__IFLA_OFFLOAD_XSTATS_MAX - 1)
1861
1862enum {
1867};
1868#define IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX \
1869 (__IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX - 1)
1870
1871/* XDP section */
1872
1873#define XDP_FLAGS_UPDATE_IF_NOEXIST (1U << 0)
1874#define XDP_FLAGS_SKB_MODE (1U << 1)
1875#define XDP_FLAGS_DRV_MODE (1U << 2)
1876#define XDP_FLAGS_HW_MODE (1U << 3)
1877#define XDP_FLAGS_REPLACE (1U << 4)
1878#define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \
1879 XDP_FLAGS_DRV_MODE | \
1880 XDP_FLAGS_HW_MODE)
1881#define XDP_FLAGS_MASK (XDP_FLAGS_UPDATE_IF_NOEXIST | \
1882 XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
1883
1884/* These are stored into IFLA_XDP_ATTACHED on dump. */
1885enum {
1891};
1892
1893enum {
1904};
1905
1906#define IFLA_XDP_MAX (__IFLA_XDP_MAX - 1)
1907
1908enum {
1910 IFLA_EVENT_REBOOT, /* internal reset / reboot */
1911 IFLA_EVENT_FEATURES, /* change in offload features */
1912 IFLA_EVENT_BONDING_FAILOVER, /* change in active slave */
1913 IFLA_EVENT_NOTIFY_PEERS, /* re-sent grat. arp/ndisc */
1914 IFLA_EVENT_IGMP_RESEND, /* re-sent IGMP JOIN */
1915 IFLA_EVENT_BONDING_OPTIONS, /* change in bonding options */
1916};
1917
1918/* tun section */
1919
1920enum {
1932};
1933
1934#define IFLA_TUN_MAX (__IFLA_TUN_MAX - 1)
1935
1936/* rmnet section */
1937
1938#define RMNET_FLAGS_INGRESS_DEAGGREGATION (1U << 0)
1939#define RMNET_FLAGS_INGRESS_MAP_COMMANDS (1U << 1)
1940#define RMNET_FLAGS_INGRESS_MAP_CKSUMV4 (1U << 2)
1941#define RMNET_FLAGS_EGRESS_MAP_CKSUMV4 (1U << 3)
1942#define RMNET_FLAGS_INGRESS_MAP_CKSUMV5 (1U << 4)
1943#define RMNET_FLAGS_EGRESS_MAP_CKSUMV5 (1U << 5)
1944
1945enum {
1950};
1951
1952#define IFLA_RMNET_MAX (__IFLA_RMNET_MAX - 1)
1953
1957};
1958
1959/* MCTP section */
1960
1961enum {
1966};
1967
1968#define IFLA_MCTP_MAX (__IFLA_MCTP_MAX - 1)
1969
1970/* DSA section */
1971
1972enum {
1975 /* Deprecated, use IFLA_DSA_CONDUIT instead */
1978};
1979
1980#define IFLA_DSA_MAX (__IFLA_DSA_MAX - 1)
1981
1982#endif /* _UAPI_LINUX_IF_LINK_H */
unsigned long long __u64
Definition: blkid_types.h:16
unsigned int __u32
Definition: blkid_types.h:14
__u16 __bitwise __be16
Definition: blkid_types.h:41
unsigned char __u8
Definition: blkid_types.h:10
unsigned short __u16
Definition: blkid_types.h:12
Definition: if_link.h:1803
__u32 ifindex
Definition: if_link.h:1807
__u8 pad1
Definition: if_link.h:1805
__u32 filter_mask
Definition: if_link.h:1808
__u16 pad2
Definition: if_link.h:1806
__u8 family
Definition: if_link.h:1804
Definition: if_link.h:801
__u8 prio[2]
Definition: if_link.h:802
__u8 addr[6]
Definition: if_link.h:803
Definition: if_link.h:1102
__u32 retrans_time
Definition: if_link.h:1106
__u32 max_reasm_len
Definition: if_link.h:1103
__u32 reachable_time
Definition: if_link.h:1105
__u32 tstamp
Definition: if_link.h:1104
Definition: if_link.h:1749
__u8 vsi_mgr_id
Definition: if_link.h:1750
__u8 vsi_type_id[3]
Definition: if_link.h:1751
__u8 vsi_type_version
Definition: if_link.h:1752
__u8 pad[3]
Definition: if_link.h:1753
Definition: if_link.h:1954
__u32 flags
Definition: if_link.h:1955
__u32 mask
Definition: if_link.h:1956
Definition: if_link.h:1600
__u8 broadcast[32]
Definition: if_link.h:1601
Definition: if_link.h:1642
__u32 vf
Definition: if_link.h:1643
__u64 guid
Definition: if_link.h:1644
Definition: if_link.h:1595
__u8 mac[32]
Definition: if_link.h:1597
__u32 vf
Definition: if_link.h:1596
Definition: if_link.h:1631
__u32 min_tx_rate
Definition: if_link.h:1633
__u32 vf
Definition: if_link.h:1632
__u32 max_tx_rate
Definition: if_link.h:1634
Definition: if_link.h:1659
__u32 vf
Definition: if_link.h:1660
__u32 setting
Definition: if_link.h:1661
Definition: if_link.h:1637
__u32 setting
Definition: if_link.h:1639
__u32 vf
Definition: if_link.h:1638
Definition: if_link.h:1679
__u32 setting
Definition: if_link.h:1681
__u32 vf
Definition: if_link.h:1680
Definition: if_link.h:1626
__u32 rate
Definition: if_link.h:1628
__u32 vf
Definition: if_link.h:1627
Definition: if_link.h:1619
__u32 vlan
Definition: if_link.h:1621
__u32 qos
Definition: if_link.h:1622
__be16 vlan_proto
Definition: if_link.h:1623
__u32 vf
Definition: if_link.h:1620
Definition: if_link.h:1604
__u32 qos
Definition: if_link.h:1607
__u32 vf
Definition: if_link.h:1605
__u32 vlan
Definition: if_link.h:1606
Definition: if_link.h:1135
__u32 mask
Definition: if_link.h:1137
__u32 flags
Definition: if_link.h:1136
Definition: if_link.h:1148
__u32 to
Definition: if_link.h:1150
__u32 from
Definition: if_link.h:1149
Definition: if_link.h:1404
__be16 high
Definition: if_link.h:1406
__be16 low
Definition: if_link.h:1405
Definition: if_link.h:256
__u64 tx_packets
Definition: if_link.h:258
__u64 tx_dropped
Definition: if_link.h:264
__u64 rx_packets
Definition: if_link.h:257
__u64 rx_bytes
Definition: if_link.h:259
__u64 multicast
Definition: if_link.h:265
__u64 tx_bytes
Definition: if_link.h:260
__u64 rx_dropped
Definition: if_link.h:263
__u64 rx_errors
Definition: if_link.h:261
__u64 tx_errors
Definition: if_link.h:262
Definition: if_link.h:1276
__u16 reserved2
Definition: if_link.h:1279
__u32 ifindex
Definition: if_link.h:1280
__u8 flags
Definition: if_link.h:1278
__u8 family
Definition: if_link.h:1277