]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
Update kernel headers
authorDavid Ahern <dsahern@gmail.com>
Tue, 17 Dec 2019 16:25:26 +0000 (16:25 +0000)
committerDavid Ahern <dsahern@gmail.com>
Tue, 17 Dec 2019 16:25:26 +0000 (16:25 +0000)
Update kernel headers to commit:
    6f6dded1385c ("Merge branch 'WireGuard-CI-and-housekeeping'")

Signed-off-by: David Ahern <dsahern@gmail.com>
include/uapi/linux/if_bonding.h
include/uapi/linux/if_bridge.h
include/uapi/linux/if_link.h

index 790585f0e61b5b252a03bd558694dc4c8921246b..6829213a54c5c78a531ea28e193624d0a867ad9f 100644 (file)
 #define BOND_XMIT_POLICY_ENCAP23       3 /* encapsulated layer 2+3 */
 #define BOND_XMIT_POLICY_ENCAP34       4 /* encapsulated layer 3+4 */
 
+/* 802.3ad port state definitions (43.4.2.2 in the 802.3ad standard) */
+#define AD_STATE_LACP_ACTIVITY   0x1
+#define AD_STATE_LACP_TIMEOUT    0x2
+#define AD_STATE_AGGREGATION     0x4
+#define AD_STATE_SYNCHRONIZATION 0x8
+#define AD_STATE_COLLECTING      0x10
+#define AD_STATE_DISTRIBUTING    0x20
+#define AD_STATE_DEFAULTED       0x40
+#define AD_STATE_EXPIRED         0x80
+
 typedef struct ifbond {
        __s32 bond_mode;
        __s32 num_slaves;
index 31fc51bdedb3ce8c4265ecc00b6bd02e53ef1a70..9fefc7f30d7b566fd01ad08a40c587dcb80d4179 100644 (file)
@@ -156,6 +156,15 @@ struct bridge_vlan_xstats {
        __u32 pad2;
 };
 
+struct bridge_stp_xstats {
+       __u64 transition_blk;
+       __u64 transition_fwd;
+       __u64 rx_bpdu;
+       __u64 tx_bpdu;
+       __u64 rx_tcn;
+       __u64 tx_tcn;
+};
+
 /* Bridge multicast database attributes
  * [MDBA_MDB] = {
  *     [MDBA_MDB_ENTRY] = {
@@ -262,6 +271,7 @@ enum {
        BRIDGE_XSTATS_VLAN,
        BRIDGE_XSTATS_MCAST,
        BRIDGE_XSTATS_PAD,
+       BRIDGE_XSTATS_STP,
        __BRIDGE_XSTATS_MAX
 };
 #define BRIDGE_XSTATS_MAX (__BRIDGE_XSTATS_MAX - 1)
index 1c49f436424db703f69f760b4714d263f8199782..29eac87e0e0f9eed9b217317741f2ababb0216a5 100644 (file)
@@ -169,6 +169,7 @@ enum {
        IFLA_MAX_MTU,
        IFLA_PROP_LIST,
        IFLA_ALT_IFNAME, /* Alternative ifname */
+       IFLA_PERM_ADDRESS,
        __IFLA_MAX
 };