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
386
387
388#define IFLA_MAX (__IFLA_MAX - 1)
389
390enum {
392 IFLA_PROTO_DOWN_REASON_MASK, /* u32, mask for reason bits */
393 IFLA_PROTO_DOWN_REASON_VALUE, /* u32, reason bit value */
394
398
399/* backwards compatibility for userspace */
400#ifndef __KERNEL__
401#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
402#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
403#endif
404
405enum {
409};
410
411#define IFLA_INET_MAX (__IFLA_INET_MAX - 1)
412
413/* ifi_flags.
414
415 IFF_* flags.
416
417 The only change is:
418 IFF_LOOPBACK, IFF_BROADCAST and IFF_POINTOPOINT are
419 more not changeable by user. They describe link media
420 characteristics and set by device driver.
421
422 Comments:
423 - Combination IFF_BROADCAST|IFF_POINTOPOINT is invalid
424 - If neither of these three flags are set;
425 the interface is NBMA.
426
427 - IFF_MULTICAST does not mean anything special:
428 multicasts can be used on all not-NBMA links.
429 IFF_MULTICAST means that this media uses special encapsulation
430 for multicast frames. Apparently, all IFF_POINTOPOINT and
431 IFF_BROADCAST devices are able to use multicasts too.
432 */
433
434/* IFLA_LINK.
435 For usual devices it is equal ifi_index.
436 If it is a "virtual interface" (f.e. tunnel), ifi_link
437 can point to real physical interface (f.e. for bandwidth calculations),
438 or maybe 0, what means, that real media is unknown (usual
439 for IPIP tunnels, when route to endpoint is allowed to change)
440 */
441
442/* Subtype attributes for IFLA_PROTINFO */
443enum {
445 IFLA_INET6_FLAGS, /* link flags */
446 IFLA_INET6_CONF, /* sysctl parameters */
447 IFLA_INET6_STATS, /* statistics */
448 IFLA_INET6_MCAST, /* MC things. What of them? */
449 IFLA_INET6_CACHEINFO, /* time values and max reasm size */
450 IFLA_INET6_ICMP6STATS, /* statistics (icmpv6) */
451 IFLA_INET6_TOKEN, /* device token */
452 IFLA_INET6_ADDR_GEN_MODE, /* implicit address generator mode */
453 IFLA_INET6_RA_MTU, /* mtu carried in the RA message */
456
457#define IFLA_INET6_MAX (__IFLA_INET6_MAX - 1)
458
464};
465
466/* Bridge section */
467
753enum {
806};
807
808#define IFLA_BR_MAX (__IFLA_BR_MAX - 1)
809
840
841#define BR_STP_MODE_MAX (__BR_STP_MODE_MAX - 1)
842
845 __u8 addr[6]; /* ETH_ALEN */
846};
847
858enum {
861};
862
1110enum {
1112 IFLA_BRPORT_STATE, /* Spanning tree state */
1113 IFLA_BRPORT_PRIORITY, /* " priority */
1114 IFLA_BRPORT_COST, /* " cost */
1115 IFLA_BRPORT_MODE, /* mode (hairpin) */
1116 IFLA_BRPORT_GUARD, /* bpdu guard */
1117 IFLA_BRPORT_PROTECT, /* root port protection */
1118 IFLA_BRPORT_FAST_LEAVE, /* multicast fast leave */
1119 IFLA_BRPORT_LEARNING, /* mac learning */
1120 IFLA_BRPORT_UNICAST_FLOOD, /* flood unicast traffic */
1121 IFLA_BRPORT_PROXYARP, /* proxy ARP */
1122 IFLA_BRPORT_LEARNING_SYNC, /* mac learning sync from device */
1123 IFLA_BRPORT_PROXYARP_WIFI, /* proxy ARP for Wi-Fi */
1124 IFLA_BRPORT_ROOT_ID, /* designated root */
1125 IFLA_BRPORT_BRIDGE_ID, /* designated bridge */
1159#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
1160
1163 __u32 tstamp; /* ipv6InterfaceTable updated timestamp */
1166};
1167
1168enum {
1176};
1177
1178#define IFLA_INFO_MAX (__IFLA_INFO_MAX - 1)
1179
1180/* VLAN section */
1181
1182enum {
1190};
1191
1192#define IFLA_VLAN_MAX (__IFLA_VLAN_MAX - 1)
1193
1197};
1198
1199enum {
1204
1205#define IFLA_VLAN_QOS_MAX (__IFLA_VLAN_QOS_MAX - 1)
1206
1210};
1211
1212/* MACVLAN section */
1213enum {
1225};
1226
1227#define IFLA_MACVLAN_MAX (__IFLA_MACVLAN_MAX - 1)
1228
1230 MACVLAN_MODE_PRIVATE = 1, /* don't talk to other macvlans */
1231 MACVLAN_MODE_VEPA = 2, /* talk to other ports through ext bridge */
1232 MACVLAN_MODE_BRIDGE = 4, /* talk to bridge ports directly */
1233 MACVLAN_MODE_PASSTHRU = 8,/* take over the underlying device */
1234 MACVLAN_MODE_SOURCE = 16,/* use source MAC address list to assign */
1235};
1236
1242};
1243
1244#define MACVLAN_FLAG_NOPROMISC 1
1245#define MACVLAN_FLAG_NODST 2 /* skip dst macvlan if matching src macvlan */
1246
1247/* VRF section */
1248enum {
1253
1254#define IFLA_VRF_MAX (__IFLA_VRF_MAX - 1)
1255
1256enum {
1261
1262#define IFLA_VRF_PORT_MAX (__IFLA_VRF_PORT_MAX - 1)
1263
1264/* MACSEC section */
1265enum {
1283};
1284
1285#define IFLA_MACSEC_MAX (__IFLA_MACSEC_MAX - 1)
1286
1287/* XFRM section */
1288enum {
1295
1296#define IFLA_XFRM_MAX (__IFLA_XFRM_MAX - 1)
1297
1304};
1305
1312};
1313
1314/* IPVLAN section */
1315enum {
1321
1322#define IFLA_IPVLAN_MAX (__IFLA_IPVLAN_MAX - 1)
1323
1330
1331#define IPVLAN_F_PRIVATE 0x01
1332#define IPVLAN_F_VEPA 0x02
1333
1334/* Tunnel RTM header */
1340};
1341
1342/* netkit section */
1348};
1349
1353};
1354
1358};
1359
1360/* NETKIT_SCRUB_NONE leaves clearing skb->{mark,priority} up to
1361 * the BPF program if attached. This also means the latter can
1362 * consume the two fields if they were populated earlier.
1363 *
1364 * NETKIT_SCRUB_DEFAULT zeroes skb->{mark,priority} fields before
1365 * invoking the attached BPF program when the peer device resides
1366 * in a different network namespace. This is the default behavior.
1367 */
1371};
1372
1373enum {
1386};
1387#define IFLA_NETKIT_MAX (__IFLA_NETKIT_MAX - 1)
1388
1389/* VXLAN section */
1390
1391/* include statistics in the dump */
1392#define TUNNEL_MSG_FLAG_STATS 0x01
1393
1394#define TUNNEL_MSG_VALID_USER_FLAGS TUNNEL_MSG_FLAG_STATS
1395
1396/* Embedded inside VXLAN_VNIFILTER_ENTRY_STATS */
1397enum {
1410#define VNIFILTER_ENTRY_STATS_MAX (__VNIFILTER_ENTRY_STATS_MAX - 1)
1411
1412enum {
1421#define VXLAN_VNIFILTER_ENTRY_MAX (__VXLAN_VNIFILTER_ENTRY_MAX - 1)
1422
1423enum {
1428#define VXLAN_VNIFILTER_MAX (__VXLAN_VNIFILTER_MAX - 1)
1429
1430enum {
1433 IFLA_VXLAN_GROUP, /* group or remote address */
1441 IFLA_VXLAN_PORT_RANGE, /* source port */
1446 IFLA_VXLAN_PORT, /* destination port */
1461 IFLA_VXLAN_VNIFILTER, /* only applicable with COLLECT_METADATA mode */
1463 IFLA_VXLAN_LABEL_POLICY, /* IPv6 flow label policy; ifla_vxlan_label_policy */
1468#define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
1469
1473};
1474
1481};
1482
1488};
1489
1490/* GENEVE section */
1491enum {
1497 IFLA_GENEVE_PORT, /* destination port */
1513#define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1)
1514
1521};
1522
1526};
1527
1528/* Bareudp section */
1529enum {
1537
1538#define IFLA_BAREUDP_MAX (__IFLA_BAREUDP_MAX - 1)
1539
1540/* PPP section */
1541enum {
1546#define IFLA_PPP_MAX (__IFLA_PPP_MAX - 1)
1547
1548/* GTP section */
1549
1553};
1554
1555enum {
1566};
1567#define IFLA_GTP_MAX (__IFLA_GTP_MAX - 1)
1568
1569/* Bonding section */
1570
1571enum {
1608};
1609
1610#define IFLA_BOND_MAX (__IFLA_BOND_MAX - 1)
1611
1612enum {
1620};
1621
1622#define IFLA_BOND_AD_INFO_MAX (__IFLA_BOND_AD_INFO_MAX - 1)
1623
1624enum {
1639};
1640
1641#define IFLA_BOND_SLAVE_MAX (__IFLA_BOND_SLAVE_MAX - 1)
1642
1643/* SR-IOV virtual function management section */
1644
1645enum {
1649};
1650
1651#define IFLA_VF_INFO_MAX (__IFLA_VF_INFO_MAX - 1)
1652
1653enum {
1655 IFLA_VF_MAC, /* Hardware queue specific attributes */
1656 IFLA_VF_VLAN, /* VLAN ID and QoS */
1657 IFLA_VF_TX_RATE, /* Max TX Bandwidth Allocation */
1658 IFLA_VF_SPOOFCHK, /* Spoof Checking on/off switch */
1659 IFLA_VF_LINK_STATE, /* link state enable/disable/auto switch */
1660 IFLA_VF_RATE, /* Min and Max TX Bandwidth Allocation */
1661 IFLA_VF_RSS_QUERY_EN, /* RSS Redirection Table and Hash Key query
1662 * on/off switch
1663 */
1664 IFLA_VF_STATS, /* network device statistics */
1665 IFLA_VF_TRUST, /* Trust VF */
1666 IFLA_VF_IB_NODE_GUID, /* VF Infiniband node GUID */
1667 IFLA_VF_IB_PORT_GUID, /* VF Infiniband port GUID */
1668 IFLA_VF_VLAN_LIST, /* nested list of vlans, option for QinQ */
1669 IFLA_VF_BROADCAST, /* VF broadcast */
1671};
1672
1673#define IFLA_VF_MAX (__IFLA_VF_MAX - 1)
1674
1677 __u8 mac[32]; /* MAX_ADDR_LEN */
1678};
1679
1682};
1683
1686 __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */
1688};
1689
1690enum {
1692 IFLA_VF_VLAN_INFO, /* VLAN ID, QoS and VLAN protocol */
1694};
1695
1696#define IFLA_VF_VLAN_INFO_MAX (__IFLA_VF_VLAN_INFO_MAX - 1)
1697#define MAX_VLAN_LIST_LEN 1
1698
1701 __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */
1703 __be16 vlan_proto; /* VLAN protocol either 802.1Q or 802.1ad */
1704};
1705
1708 __u32 rate; /* Max TX bandwidth in Mbps, 0 disables throttling */
1709};
1710
1713 __u32 min_tx_rate; /* Min Bandwidth in Mbps */
1714 __u32 max_tx_rate; /* Max Bandwidth in Mbps */
1715};
1716
1720};
1721
1725};
1726
1727enum {
1728 IFLA_VF_LINK_STATE_AUTO, /* link state of the uplink */
1729 IFLA_VF_LINK_STATE_ENABLE, /* link always up */
1730 IFLA_VF_LINK_STATE_DISABLE, /* link always down */
1732};
1733
1737};
1738
1742};
1743
1744enum {
1755};
1756
1757#define IFLA_VF_STATS_MAX (__IFLA_VF_STATS_MAX - 1)
1758
1762};
1763
1764/* VF ports management section
1765 *
1766 * Nested layout of set/get msg is:
1767 *
1768 * [IFLA_NUM_VF]
1769 * [IFLA_VF_PORTS]
1770 * [IFLA_VF_PORT]
1771 * [IFLA_PORT_*], ...
1772 * [IFLA_VF_PORT]
1773 * [IFLA_PORT_*], ...
1774 * ...
1775 * [IFLA_PORT_SELF]
1776 * [IFLA_PORT_*], ...
1777 */
1778
1779enum {
1781 IFLA_VF_PORT, /* nest */
1783};
1784
1785#define IFLA_VF_PORT_MAX (__IFLA_VF_PORT_MAX - 1)
1786
1787enum {
1789 IFLA_PORT_VF, /* __u32 */
1790 IFLA_PORT_PROFILE, /* string */
1791 IFLA_PORT_VSI_TYPE, /* 802.1Qbg (pre-)standard VDP */
1792 IFLA_PORT_INSTANCE_UUID, /* binary UUID */
1793 IFLA_PORT_HOST_UUID, /* binary UUID */
1795 IFLA_PORT_RESPONSE, /* __u16, output only */
1797};
1798
1799#define IFLA_PORT_MAX (__IFLA_PORT_MAX - 1)
1800
1801#define PORT_PROFILE_MAX 40
1802#define PORT_UUID_MAX 16
1803#define PORT_SELF_VF -1
1804
1805enum {
1810};
1811
1812enum {
1820 /* 0x08-0xFF reserved for future VDP use */
1827};
1828
1834};
1835
1836
1837/* IPoIB section */
1838
1839enum {
1846
1847enum {
1848 IPOIB_MODE_DATAGRAM = 0, /* using unreliable datagram QPs */
1849 IPOIB_MODE_CONNECTED = 1, /* using connected QPs */
1850};
1851
1852#define IFLA_IPOIB_MAX (__IFLA_IPOIB_MAX - 1)
1853
1854
1855/* HSR/PRP section, both uses same interface */
1856
1857/* Different redundancy protocols for hsr device */
1858enum {
1862};
1863
1864enum {
1868 IFLA_HSR_MULTICAST_SPEC, /* Last byte of supervision addr */
1869 IFLA_HSR_SUPERVISION_ADDR, /* Supervision frame multicast addr */
1871 IFLA_HSR_VERSION, /* HSR version */
1872 IFLA_HSR_PROTOCOL, /* Indicate different protocol than
1873 * HSR. For example PRP.
1874 */
1875 IFLA_HSR_INTERLINK, /* HSR interlink network device */
1877};
1878
1879#define IFLA_HSR_MAX (__IFLA_HSR_MAX - 1)
1880
1881/* STATS section */
1882
1889};
1890
1891/* A stats attribute can be netdev specific or a global stat.
1892 * For netdev stats, lets use the prefix IFLA_STATS_LINK_*
1893 */
1894enum {
1895 IFLA_STATS_UNSPEC, /* also used as 64bit pad attribute */
1902};
1903
1904#define IFLA_STATS_MAX (__IFLA_STATS_MAX - 1)
1905
1906#define IFLA_STATS_FILTER_BIT(ATTR) (1 << (ATTR - 1))
1907
1908enum {
1910 IFLA_STATS_GET_FILTERS, /* Nest of IFLA_STATS_LINK_xxx, each a u32 with
1911 * a filter mask for the corresponding group.
1912 */
1915};
1916
1917#define IFLA_STATS_GETSET_MAX (__IFLA_STATS_GETSET_MAX - 1)
1918
1919/* These are embedded into IFLA_STATS_LINK_XSTATS:
1920 * [IFLA_STATS_LINK_XSTATS]
1921 * -> [LINK_XSTATS_TYPE_xxx]
1922 * -> [rtnl link type specific attributes]
1923 */
1924enum {
1930#define LINK_XSTATS_TYPE_MAX (__LINK_XSTATS_TYPE_MAX - 1)
1931
1932/* These are stats embedded into IFLA_STATS_LINK_OFFLOAD_XSTATS */
1933enum {
1935 IFLA_OFFLOAD_XSTATS_CPU_HIT, /* struct rtnl_link_stats64 */
1936 IFLA_OFFLOAD_XSTATS_HW_S_INFO, /* HW stats info. A nest */
1937 IFLA_OFFLOAD_XSTATS_L3_STATS, /* struct rtnl_hw_stats64 */
1940#define IFLA_OFFLOAD_XSTATS_MAX (__IFLA_OFFLOAD_XSTATS_MAX - 1)
1941
1942enum {
1947};
1948#define IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX \
1949 (__IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX - 1)
1950
1951/* XDP section */
1952
1953#define XDP_FLAGS_UPDATE_IF_NOEXIST (1U << 0)
1954#define XDP_FLAGS_SKB_MODE (1U << 1)
1955#define XDP_FLAGS_DRV_MODE (1U << 2)
1956#define XDP_FLAGS_HW_MODE (1U << 3)
1957#define XDP_FLAGS_REPLACE (1U << 4)
1958#define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \
1959 XDP_FLAGS_DRV_MODE | \
1960 XDP_FLAGS_HW_MODE)
1961#define XDP_FLAGS_MASK (XDP_FLAGS_UPDATE_IF_NOEXIST | \
1962 XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
1963
1964/* These are stored into IFLA_XDP_ATTACHED on dump. */
1965enum {
1971};
1972
1973enum {
1984};
1985
1986#define IFLA_XDP_MAX (__IFLA_XDP_MAX - 1)
1987
1988enum {
1990 IFLA_EVENT_REBOOT, /* internal reset / reboot */
1991 IFLA_EVENT_FEATURES, /* change in offload features */
1992 IFLA_EVENT_BONDING_FAILOVER, /* change in active slave */
1993 IFLA_EVENT_NOTIFY_PEERS, /* re-sent grat. arp/ndisc */
1994 IFLA_EVENT_IGMP_RESEND, /* re-sent IGMP JOIN */
1995 IFLA_EVENT_BONDING_OPTIONS, /* change in bonding options */
1996};
1997
1998/* tun section */
1999
2000enum {
2012};
2013
2014#define IFLA_TUN_MAX (__IFLA_TUN_MAX - 1)
2015
2016/* rmnet section */
2017
2018#define RMNET_FLAGS_INGRESS_DEAGGREGATION (1U << 0)
2019#define RMNET_FLAGS_INGRESS_MAP_COMMANDS (1U << 1)
2020#define RMNET_FLAGS_INGRESS_MAP_CKSUMV4 (1U << 2)
2021#define RMNET_FLAGS_EGRESS_MAP_CKSUMV4 (1U << 3)
2022#define RMNET_FLAGS_INGRESS_MAP_CKSUMV5 (1U << 4)
2023#define RMNET_FLAGS_EGRESS_MAP_CKSUMV5 (1U << 5)
2024
2025enum {
2030};
2031
2032#define IFLA_RMNET_MAX (__IFLA_RMNET_MAX - 1)
2033
2037};
2038
2039/* MCTP section */
2040
2041enum {
2046};
2047
2048#define IFLA_MCTP_MAX (__IFLA_MCTP_MAX - 1)
2049
2050/* DSA section */
2051
2052enum {
2055 /* Deprecated, use IFLA_DSA_CONDUIT instead */
2058};
2059
2060#define IFLA_DSA_MAX (__IFLA_DSA_MAX - 1)
2061
2062/* OVPN section */
2063
2067};
2068
2069enum {
2073};
2074
2075#define IFLA_OVPN_MAX (__IFLA_OVPN_MAX - 1)
2076
2077#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:1883
__u32 ifindex
Definition: if_link.h:1887
__u8 pad1
Definition: if_link.h:1885
__u32 filter_mask
Definition: if_link.h:1888
__u16 pad2
Definition: if_link.h:1886
__u8 family
Definition: if_link.h:1884
Definition: if_link.h:843
__u8 prio[2]
Definition: if_link.h:844
__u8 addr[6]
Definition: if_link.h:845
Definition: if_link.h:1161
__u32 retrans_time
Definition: if_link.h:1165
__u32 max_reasm_len
Definition: if_link.h:1162
__u32 reachable_time
Definition: if_link.h:1164
__u32 tstamp
Definition: if_link.h:1163
Definition: if_link.h:1523
__be16 low
Definition: if_link.h:1524
__be16 high
Definition: if_link.h:1525
Definition: if_link.h:1829
__u8 vsi_mgr_id
Definition: if_link.h:1830
__u8 vsi_type_id[3]
Definition: if_link.h:1831
__u8 vsi_type_version
Definition: if_link.h:1832
__u8 pad[3]
Definition: if_link.h:1833
Definition: if_link.h:2034
__u32 flags
Definition: if_link.h:2035
__u32 mask
Definition: if_link.h:2036
Definition: if_link.h:1680
__u8 broadcast[32]
Definition: if_link.h:1681
Definition: if_link.h:1722
__u32 vf
Definition: if_link.h:1723
__u64 guid
Definition: if_link.h:1724
Definition: if_link.h:1675
__u8 mac[32]
Definition: if_link.h:1677
__u32 vf
Definition: if_link.h:1676
Definition: if_link.h:1711
__u32 min_tx_rate
Definition: if_link.h:1713
__u32 vf
Definition: if_link.h:1712
__u32 max_tx_rate
Definition: if_link.h:1714
Definition: if_link.h:1739
__u32 vf
Definition: if_link.h:1740
__u32 setting
Definition: if_link.h:1741
Definition: if_link.h:1717
__u32 setting
Definition: if_link.h:1719
__u32 vf
Definition: if_link.h:1718
Definition: if_link.h:1759
__u32 setting
Definition: if_link.h:1761
__u32 vf
Definition: if_link.h:1760
Definition: if_link.h:1706
__u32 rate
Definition: if_link.h:1708
__u32 vf
Definition: if_link.h:1707
Definition: if_link.h:1699
__u32 vlan
Definition: if_link.h:1701
__u32 qos
Definition: if_link.h:1702
__be16 vlan_proto
Definition: if_link.h:1703
__u32 vf
Definition: if_link.h:1700
Definition: if_link.h:1684
__u32 qos
Definition: if_link.h:1687
__u32 vf
Definition: if_link.h:1685
__u32 vlan
Definition: if_link.h:1686
Definition: if_link.h:1194
__u32 mask
Definition: if_link.h:1196
__u32 flags
Definition: if_link.h:1195
Definition: if_link.h:1207
__u32 to
Definition: if_link.h:1209
__u32 from
Definition: if_link.h:1208
Definition: if_link.h:1470
__be16 high
Definition: if_link.h:1472
__be16 low
Definition: if_link.h:1471
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:1335
__u16 reserved2
Definition: if_link.h:1338
__u32 ifindex
Definition: if_link.h:1339
__u8 flags
Definition: if_link.h:1337
__u8 family
Definition: if_link.h:1336