]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
update to 4.1-rc5 headers
authorStephen Hemminger <shemming@brocade.com>
Thu, 28 May 2015 01:27:42 +0000 (18:27 -0700)
committerStephen Hemminger <shemming@brocade.com>
Thu, 28 May 2015 01:27:42 +0000 (18:27 -0700)
Pull in some changes like RTN_F_EXTERNAL

include/linux/inet_diag.h
include/linux/mpls.h
include/linux/rtnetlink.h
include/linux/tcp.h

index 7438dad7b7fe7337e7355ceedffbdcce04ce9c91..0fb76bb95eb971c339577d136ce226210c1b19b9 100644 (file)
@@ -143,4 +143,8 @@ struct tcp_dctcp_info {
        __u32   dctcp_ab_tot;
 };
 
+union tcp_cc_info {
+       struct tcpvegas_info    vegas;
+       struct tcp_dctcp_info   dctcp;
+};
 #endif /* _INET_DIAG_H_ */
index 08939023b4b4f6554b07306f537a7cdeff9a4a26..13c55eb8efd71de438b1c5f6f6e1219d4331b130 100644 (file)
@@ -31,4 +31,14 @@ struct mpls_label {
 #define MPLS_LS_TTL_MASK        0x000000FF
 #define MPLS_LS_TTL_SHIFT       0
 
+/* Reserved labels */
+#define MPLS_LABEL_IPV4NULL            0 /* RFC3032 */
+#define MPLS_LABEL_RTALERT             1 /* RFC3032 */
+#define MPLS_LABEL_IPV6NULL            2 /* RFC3032 */
+#define MPLS_LABEL_IMPLNULL            3 /* RFC3032 */
+#define MPLS_LABEL_ENTROPY             7 /* RFC6790 */
+#define MPLS_LABEL_GAL                 13 /* RFC5586 */
+#define MPLS_LABEL_OAMALERT            14 /* RFC3429 */
+#define MPLS_LABEL_EXTENSION           15 /* RFC7274 */
+
 #endif /* _MPLS_H */
index 702b19b4207eac31d581dbec5fad6ffeb0ca83cc..502e507e18de705ddc44218f51685e777435b728 100644 (file)
@@ -337,7 +337,7 @@ struct rtnexthop {
 #define RTNH_F_DEAD            1       /* Nexthop is dead (used by multipath)  */
 #define RTNH_F_PERVASIVE       2       /* Do recursive gateway lookup  */
 #define RTNH_F_ONLINK          4       /* Gateway is forced on link    */
-#define RTNH_F_EXTERNAL                8       /* Route installed externally   */
+#define RTNH_F_OFFLOAD         8       /* offloaded route */
 
 /* Macros to handle hexthops */
 
index f96e0158405cfa16f5957f943cf52882d7f661e4..1e002563be7267fec1afca1d311d27fc62c8f5a9 100644 (file)
@@ -112,6 +112,7 @@ enum {
 #define TCP_FASTOPEN           23      /* Enable FastOpen on listeners */
 #define TCP_TIMESTAMP          24
 #define TCP_NOTSENT_LOWAT      25      /* limit number of unsent bytes in write queue */
+#define TCP_CC_INFO            26      /* Get Congestion Control (optional) info */
 
 struct tcp_repair_opt {
        __u32   opt_code;
@@ -189,6 +190,8 @@ struct tcp_info {
 
        __u64   tcpi_pacing_rate;
        __u64   tcpi_max_pacing_rate;
+       __u64   tcpi_bytes_acked; /* RFC4898 tcpEStatsAppHCThruOctetsAcked */
+       __u64   tcpi_bytes_received; /* RFC4898 tcpEStatsAppHCThruOctetsReceived */
 };
 
 /* for TCP_MD5SIG socket option */