]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
Update kernel headers
authorDavid Ahern <dsahern@gmail.com>
Fri, 28 Jun 2019 23:14:25 +0000 (16:14 -0700)
committerDavid Ahern <dsahern@gmail.com>
Fri, 28 Jun 2019 23:14:25 +0000 (16:14 -0700)
Update kernel headers to commit:
    5cdda5f1d6ad ("ipv4: enable route flushing in network namespaces")

Signed-off-by: David Ahern <dsahern@gmail.com>
include/uapi/linux/bpf.h
include/uapi/linux/if_link.h
include/uapi/linux/netfilter/ipset/ip_set.h
include/uapi/linux/pkt_cls.h
include/uapi/linux/tc_act/tc_ctinfo.h
include/uapi/linux/tcp.h

index d7b5063f26ed305b9622037761ea4e10021413d8..fcdf80a652c53b1c8fec63068cf3eff6ca3ff690 100644 (file)
@@ -3085,6 +3085,10 @@ struct bpf_sock_tuple {
        };
 };
 
+struct bpf_xdp_sock {
+       __u32 queue_id;
+};
+
 #define XDP_PACKET_HEADROOM 256
 
 /* User return codes for XDP prog type.
@@ -3245,6 +3249,7 @@ struct bpf_sock_addr {
        __u32 msg_src_ip6[4];   /* Allows 1,2,4-byte read an 4-byte write.
                                 * Stored in network byte order.
                                 */
+       __bpf_md_ptr(struct bpf_sock *, sk);
 };
 
 /* User bpf_sock_ops struct to access socket values and specify request ops
@@ -3296,6 +3301,7 @@ struct bpf_sock_ops {
        __u32 sk_txhash;
        __u64 bytes_received;
        __u64 bytes_acked;
+       __bpf_md_ptr(struct bpf_sock *, sk);
 };
 
 /* Definitions for bpf_sock_ops_cb_flags */
index bfe7f9e6eae37c9c582bb29f770dbe685d4a2ecf..b59554dd55cbc43f5ca86d821615c67ef3c5a03b 100644 (file)
@@ -692,6 +692,7 @@ enum {
        IFLA_VF_IB_NODE_GUID,   /* VF Infiniband node GUID */
        IFLA_VF_IB_PORT_GUID,   /* VF Infiniband port GUID */
        IFLA_VF_VLAN_LIST,      /* nested list of vlans, option for QinQ */
+       IFLA_VF_BROADCAST,      /* VF broadcast */
        __IFLA_VF_MAX,
 };
 
@@ -702,6 +703,10 @@ struct ifla_vf_mac {
        __u8 mac[32]; /* MAX_ADDR_LEN */
 };
 
+struct ifla_vf_broadcast {
+       __u8 broadcast[32];
+};
+
 struct ifla_vf_vlan {
        __u32 vf;
        __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */
index 153c517a5430844648ed5fca97663154ad181aa8..c512003dba6ba370098235fd20659557293e54fb 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
  *                         Patrick Schaaf <bof@bof.de>
  *                         Martin Josefsson <gandalf@wlug.westbo.se>
- * Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
+ * Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@netfilter.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
index a93680fc4bfaed358a1bfb5a2c642b8e6a934959..8cc6b6777b3cfd782850c9dd468bf98669d98638 100644 (file)
@@ -295,7 +295,7 @@ enum {
        TCA_FW_UNSPEC,
        TCA_FW_CLASSID,
        TCA_FW_POLICE,
-       TCA_FW_INDEV, /*  used by CONFIG_NET_CLS_IND */
+       TCA_FW_INDEV,
        TCA_FW_ACT, /* used by CONFIG_NET_CLS_ACT */
        TCA_FW_MASK,
        __TCA_FW_MAX
index da803e05a89bd8c286deceb96c78e17e3911b89b..f5f26d95d0e73d33a927007973a334d6d7272f83 100644 (file)
@@ -26,9 +26,4 @@ enum {
 
 #define TCA_CTINFO_MAX (__TCA_CTINFO_MAX - 1)
 
-enum {
-       CTINFO_MODE_DSCP        = BIT(0),
-       CTINFO_MODE_CPMARK      = BIT(1)
-};
-
 #endif
index 2d5627978aa2a0e1eb2643c60f3567f14503164d..3fd9b29146b174b082c7c78c677e82592bf45ace 100644 (file)
@@ -127,6 +127,9 @@ enum {
 
 #define TCP_CM_INQ             TCP_INQ
 
+#define TCP_TX_DELAY           37      /* delay outgoing packets by XX usec */
+
+
 #define TCP_REPAIR_ON          1
 #define TCP_REPAIR_OFF         0
 #define TCP_REPAIR_OFF_NO_WP   -1      /* Turn off without window probes */