]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
uapi: updates to tcp.h, snmp.h and if_bridge.h
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 29 Jan 2020 13:48:19 +0000 (05:48 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 29 Jan 2020 13:48:19 +0000 (05:48 -0800)
Upstream changes

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/if_bridge.h
include/uapi/linux/snmp.h
include/uapi/linux/tcp.h

index 18e8f3c4e28e396fc8546043a2f611ffd05e1a97..e2e925ffc9c0a81b43798ef02bd8e55e7784b0c8 100644 (file)
@@ -130,6 +130,7 @@ enum {
 #define BRIDGE_VLAN_INFO_RANGE_BEGIN   (1<<3) /* VLAN is start of vlan range */
 #define BRIDGE_VLAN_INFO_RANGE_END     (1<<4) /* VLAN is end of vlan range */
 #define BRIDGE_VLAN_INFO_BRENTRY       (1<<5) /* Global bridge VLAN entry */
+#define BRIDGE_VLAN_INFO_ONLY_OPTS     (1<<6) /* Skip create/delete/flags */
 
 struct bridge_vlan_info {
        __u16 flags;
@@ -190,6 +191,7 @@ enum {
        BRIDGE_VLANDB_ENTRY_UNSPEC,
        BRIDGE_VLANDB_ENTRY_INFO,
        BRIDGE_VLANDB_ENTRY_RANGE,
+       BRIDGE_VLANDB_ENTRY_STATE,
        __BRIDGE_VLANDB_ENTRY_MAX,
 };
 #define BRIDGE_VLANDB_ENTRY_MAX (__BRIDGE_VLANDB_ENTRY_MAX - 1)
index 7eee233e78d2740e15b2abe445f7b6d40d217846..7d91f4debc483f28632b9070be231331ffc51ed6 100644 (file)
@@ -285,6 +285,8 @@ enum
        LINUX_MIB_TCPRCVQDROP,                  /* TCPRcvQDrop */
        LINUX_MIB_TCPWQUEUETOOBIG,              /* TCPWqueueTooBig */
        LINUX_MIB_TCPFASTOPENPASSIVEALTKEY,     /* TCPFastOpenPassiveAltKey */
+       LINUX_MIB_TCPTIMEOUTREHASH,             /* TCPTimeoutRehash */
+       LINUX_MIB_TCPDUPLICATEDATAREHASH,       /* TCPDuplicateDataRehash */
        __LINUX_MIB_MAX
 };
 
index 0a2c423e12ead482ef9b30c98bdae3432e42045d..d79550b3f2a0b917819af85f97c3348dba8832d4 100644 (file)
@@ -311,6 +311,7 @@ enum {
        TCP_NLA_DSACK_DUPS,     /* DSACK blocks received */
        TCP_NLA_REORD_SEEN,     /* reordering events seen */
        TCP_NLA_SRTT,           /* smoothed RTT in usecs */
+       TCP_NLA_TIMEOUT_REHASH, /* Timeout-triggered rehash attempts */
 };
 
 /* for TCP_MD5SIG socket option */