|
|
d8fb9e |
From a99698f738e60e524c9ad98bebf8753d675c0b16 Mon Sep 17 00:00:00 2001
|
|
|
d8fb9e |
From: Andrea Claudi <aclaudi@redhat.com>
|
|
|
d8fb9e |
Date: Tue, 21 Apr 2020 14:53:23 +0200
|
|
|
d8fb9e |
Subject: [PATCH] Update kernel headers
|
|
|
d8fb9e |
|
|
|
d8fb9e |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1637437
|
|
|
d8fb9e |
Upstream Status: iproute2.git commit 74eb09ad5669b
|
|
|
d8fb9e |
|
|
|
d8fb9e |
commit 74eb09ad5669bb24ae4c37e712f9c28bc88c9231
|
|
|
d8fb9e |
Author: David Ahern <dsahern@gmail.com>
|
|
|
d8fb9e |
Date: Sun Aug 12 14:23:31 2018 -0700
|
|
|
d8fb9e |
|
|
|
d8fb9e |
Update kernel headers
|
|
|
d8fb9e |
|
|
|
d8fb9e |
Update kernel headers to commit
|
|
|
d8fb9e |
78cbac647e61 (Merge branch 'ip-faster-in-order-IP-fragments'")
|
|
|
d8fb9e |
|
|
|
d8fb9e |
Signed-off-by: David Ahern <dsahern@gmail.com>
|
|
|
d8fb9e |
---
|
|
|
d8fb9e |
include/uapi/linux/bpf.h | 41 +++++++++++++++++++++++++++++++++++-
|
|
|
d8fb9e |
include/uapi/linux/btf.h | 2 +-
|
|
|
d8fb9e |
include/uapi/linux/can.h | 2 +-
|
|
|
d8fb9e |
include/uapi/linux/if_link.h | 12 +++++++++++
|
|
|
d8fb9e |
include/uapi/linux/ip.h | 1 +
|
|
|
d8fb9e |
include/uapi/linux/l2tp.h | 15 +++++++------
|
|
|
d8fb9e |
include/uapi/linux/netconf.h | 1 +
|
|
|
d8fb9e |
include/uapi/linux/pkt_cls.h | 32 ++++++++++++++++++++++++++--
|
|
|
d8fb9e |
include/uapi/linux/tcp.h | 10 ++++++++-
|
|
|
d8fb9e |
include/uapi/linux/xfrm.h | 5 ++++-
|
|
|
d8fb9e |
10 files changed, 107 insertions(+), 14 deletions(-)
|
|
|
d8fb9e |
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
|
|
|
d8fb9e |
index b9a63672b297c..4bbe7e5d4c800 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/bpf.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/bpf.h
|
|
|
d8fb9e |
@@ -75,6 +75,11 @@ struct bpf_lpm_trie_key {
|
|
|
d8fb9e |
__u8 data[0]; /* Arbitrary size */
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
+struct bpf_cgroup_storage_key {
|
|
|
d8fb9e |
+ __u64 cgroup_inode_id; /* cgroup inode id */
|
|
|
d8fb9e |
+ __u32 attach_type; /* program attach type */
|
|
|
d8fb9e |
+};
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
/* BPF syscall commands, see bpf(2) man-page for details. */
|
|
|
d8fb9e |
enum bpf_cmd {
|
|
|
d8fb9e |
BPF_MAP_CREATE,
|
|
|
d8fb9e |
@@ -120,6 +125,7 @@ enum bpf_map_type {
|
|
|
d8fb9e |
BPF_MAP_TYPE_CPUMAP,
|
|
|
d8fb9e |
BPF_MAP_TYPE_XSKMAP,
|
|
|
d8fb9e |
BPF_MAP_TYPE_SOCKHASH,
|
|
|
d8fb9e |
+ BPF_MAP_TYPE_CGROUP_STORAGE,
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
enum bpf_prog_type {
|
|
|
d8fb9e |
@@ -1371,6 +1377,20 @@ union bpf_attr {
|
|
|
d8fb9e |
* A 8-byte long non-decreasing number on success, or 0 if the
|
|
|
d8fb9e |
* socket field is missing inside *skb*.
|
|
|
d8fb9e |
*
|
|
|
d8fb9e |
+ * u64 bpf_get_socket_cookie(struct bpf_sock_addr *ctx)
|
|
|
d8fb9e |
+ * Description
|
|
|
d8fb9e |
+ * Equivalent to bpf_get_socket_cookie() helper that accepts
|
|
|
d8fb9e |
+ * *skb*, but gets socket from **struct bpf_sock_addr** contex.
|
|
|
d8fb9e |
+ * Return
|
|
|
d8fb9e |
+ * A 8-byte long non-decreasing number.
|
|
|
d8fb9e |
+ *
|
|
|
d8fb9e |
+ * u64 bpf_get_socket_cookie(struct bpf_sock_ops *ctx)
|
|
|
d8fb9e |
+ * Description
|
|
|
d8fb9e |
+ * Equivalent to bpf_get_socket_cookie() helper that accepts
|
|
|
d8fb9e |
+ * *skb*, but gets socket from **struct bpf_sock_ops** contex.
|
|
|
d8fb9e |
+ * Return
|
|
|
d8fb9e |
+ * A 8-byte long non-decreasing number.
|
|
|
d8fb9e |
+ *
|
|
|
d8fb9e |
* u32 bpf_get_socket_uid(struct sk_buff *skb)
|
|
|
d8fb9e |
* Return
|
|
|
d8fb9e |
* The owner UID of the socket associated to *skb*. If the socket
|
|
|
d8fb9e |
@@ -2075,6 +2095,24 @@ union bpf_attr {
|
|
|
d8fb9e |
* Return
|
|
|
d8fb9e |
* A 64-bit integer containing the current cgroup id based
|
|
|
d8fb9e |
* on the cgroup within which the current task is running.
|
|
|
d8fb9e |
+ *
|
|
|
d8fb9e |
+ * void* get_local_storage(void *map, u64 flags)
|
|
|
d8fb9e |
+ * Description
|
|
|
d8fb9e |
+ * Get the pointer to the local storage area.
|
|
|
d8fb9e |
+ * The type and the size of the local storage is defined
|
|
|
d8fb9e |
+ * by the *map* argument.
|
|
|
d8fb9e |
+ * The *flags* meaning is specific for each map type,
|
|
|
d8fb9e |
+ * and has to be 0 for cgroup local storage.
|
|
|
d8fb9e |
+ *
|
|
|
d8fb9e |
+ * Depending on the bpf program type, a local storage area
|
|
|
d8fb9e |
+ * can be shared between multiple instances of the bpf program,
|
|
|
d8fb9e |
+ * running simultaneously.
|
|
|
d8fb9e |
+ *
|
|
|
d8fb9e |
+ * A user should care about the synchronization by himself.
|
|
|
d8fb9e |
+ * For example, by using the BPF_STX_XADD instruction to alter
|
|
|
d8fb9e |
+ * the shared data.
|
|
|
d8fb9e |
+ * Return
|
|
|
d8fb9e |
+ * Pointer to the local storage area.
|
|
|
d8fb9e |
*/
|
|
|
d8fb9e |
#define __BPF_FUNC_MAPPER(FN) \
|
|
|
d8fb9e |
FN(unspec), \
|
|
|
d8fb9e |
@@ -2157,7 +2195,8 @@ union bpf_attr {
|
|
|
d8fb9e |
FN(rc_repeat), \
|
|
|
d8fb9e |
FN(rc_keydown), \
|
|
|
d8fb9e |
FN(skb_cgroup_id), \
|
|
|
d8fb9e |
- FN(get_current_cgroup_id),
|
|
|
d8fb9e |
+ FN(get_current_cgroup_id), \
|
|
|
d8fb9e |
+ FN(get_local_storage),
|
|
|
d8fb9e |
|
|
|
d8fb9e |
/* integer value in 'imm' field of BPF_CALL instruction selects which helper
|
|
|
d8fb9e |
* function eBPF program intends to call
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/btf.h b/include/uapi/linux/btf.h
|
|
|
d8fb9e |
index 5dd580a6726cd..8d2a8ffad56f9 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/btf.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/btf.h
|
|
|
d8fb9e |
@@ -76,7 +76,7 @@ struct btf_type {
|
|
|
d8fb9e |
*/
|
|
|
d8fb9e |
#define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24)
|
|
|
d8fb9e |
#define BTF_INT_OFFSET(VAL) (((VAL & 0x00ff0000)) >> 16)
|
|
|
d8fb9e |
-#define BTF_INT_BITS(VAL) ((VAL) & 0x0000ffff)
|
|
|
d8fb9e |
+#define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff)
|
|
|
d8fb9e |
|
|
|
d8fb9e |
/* Attributes stored in the BTF_INT_ENCODING */
|
|
|
d8fb9e |
#define BTF_INT_SIGNED (1 << 0)
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/can.h b/include/uapi/linux/can.h
|
|
|
d8fb9e |
index 4d1ab8e7a4984..9009f0b6505cf 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/can.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/can.h
|
|
|
d8fb9e |
@@ -77,7 +77,7 @@ typedef __u32 canid_t;
|
|
|
d8fb9e |
/*
|
|
|
d8fb9e |
* Controller Area Network Error Message Frame Mask structure
|
|
|
d8fb9e |
*
|
|
|
d8fb9e |
- * bit 0-28 : error class mask (see include/linux/can/error.h)
|
|
|
d8fb9e |
+ * bit 0-28 : error class mask (see include/uapi/linux/can/error.h)
|
|
|
d8fb9e |
* bit 29-31 : set to zero
|
|
|
d8fb9e |
*/
|
|
|
d8fb9e |
typedef __u32 can_err_mask_t;
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
|
|
|
d8fb9e |
index 1c64ed45353d5..1caf56584a690 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/if_link.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/if_link.h
|
|
|
d8fb9e |
@@ -164,6 +164,8 @@ enum {
|
|
|
d8fb9e |
IFLA_CARRIER_UP_COUNT,
|
|
|
d8fb9e |
IFLA_CARRIER_DOWN_COUNT,
|
|
|
d8fb9e |
IFLA_NEW_IFINDEX,
|
|
|
d8fb9e |
+ IFLA_MIN_MTU,
|
|
|
d8fb9e |
+ IFLA_MAX_MTU,
|
|
|
d8fb9e |
__IFLA_MAX
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
@@ -457,6 +459,16 @@ enum {
|
|
|
d8fb9e |
|
|
|
d8fb9e |
#define IFLA_MACSEC_MAX (__IFLA_MACSEC_MAX - 1)
|
|
|
d8fb9e |
|
|
|
d8fb9e |
+/* XFRM section */
|
|
|
d8fb9e |
+enum {
|
|
|
d8fb9e |
+ IFLA_XFRM_UNSPEC,
|
|
|
d8fb9e |
+ IFLA_XFRM_LINK,
|
|
|
d8fb9e |
+ IFLA_XFRM_IF_ID,
|
|
|
d8fb9e |
+ __IFLA_XFRM_MAX
|
|
|
d8fb9e |
+};
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
+#define IFLA_XFRM_MAX (__IFLA_XFRM_MAX - 1)
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
enum macsec_validation_type {
|
|
|
d8fb9e |
MACSEC_VALIDATE_DISABLED = 0,
|
|
|
d8fb9e |
MACSEC_VALIDATE_CHECK = 1,
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h
|
|
|
d8fb9e |
index 883fd334496ab..f4ecd2fab84b5 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/ip.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/ip.h
|
|
|
d8fb9e |
@@ -168,6 +168,7 @@ enum
|
|
|
d8fb9e |
IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN,
|
|
|
d8fb9e |
IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST,
|
|
|
d8fb9e |
IPV4_DEVCONF_DROP_GRATUITOUS_ARP,
|
|
|
d8fb9e |
+ IPV4_DEVCONF_BC_FORWARDING,
|
|
|
d8fb9e |
__IPV4_DEVCONF_MAX
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h
|
|
|
d8fb9e |
index 1fe52a7dd4a94..131c3a26c2959 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/l2tp.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/l2tp.h
|
|
|
d8fb9e |
@@ -60,14 +60,14 @@ struct sockaddr_l2tpip6 {
|
|
|
d8fb9e |
/*
|
|
|
d8fb9e |
* Commands.
|
|
|
d8fb9e |
* Valid TLVs of each command are:-
|
|
|
d8fb9e |
- * TUNNEL_CREATE - CONN_ID, pw_type, netns, ifname, ipinfo, udpinfo, udpcsum, vlanid
|
|
|
d8fb9e |
+ * TUNNEL_CREATE - CONN_ID, pw_type, netns, ifname, ipinfo, udpinfo, udpcsum
|
|
|
d8fb9e |
* TUNNEL_DELETE - CONN_ID
|
|
|
d8fb9e |
* TUNNEL_MODIFY - CONN_ID, udpcsum
|
|
|
d8fb9e |
* TUNNEL_GETSTATS - CONN_ID, (stats)
|
|
|
d8fb9e |
* TUNNEL_GET - CONN_ID, (...)
|
|
|
d8fb9e |
- * SESSION_CREATE - SESSION_ID, PW_TYPE, data_seq, cookie, peer_cookie, l2spec
|
|
|
d8fb9e |
+ * SESSION_CREATE - SESSION_ID, PW_TYPE, cookie, peer_cookie, l2spec
|
|
|
d8fb9e |
* SESSION_DELETE - SESSION_ID
|
|
|
d8fb9e |
- * SESSION_MODIFY - SESSION_ID, data_seq
|
|
|
d8fb9e |
+ * SESSION_MODIFY - SESSION_ID
|
|
|
d8fb9e |
* SESSION_GET - SESSION_ID, (...)
|
|
|
d8fb9e |
* SESSION_GETSTATS - SESSION_ID, (stats)
|
|
|
d8fb9e |
*
|
|
|
d8fb9e |
@@ -95,7 +95,7 @@ enum {
|
|
|
d8fb9e |
L2TP_ATTR_PW_TYPE, /* u16, enum l2tp_pwtype */
|
|
|
d8fb9e |
L2TP_ATTR_ENCAP_TYPE, /* u16, enum l2tp_encap_type */
|
|
|
d8fb9e |
L2TP_ATTR_OFFSET, /* u16 (not used) */
|
|
|
d8fb9e |
- L2TP_ATTR_DATA_SEQ, /* u16 */
|
|
|
d8fb9e |
+ L2TP_ATTR_DATA_SEQ, /* u16 (not used) */
|
|
|
d8fb9e |
L2TP_ATTR_L2SPEC_TYPE, /* u8, enum l2tp_l2spec_type */
|
|
|
d8fb9e |
L2TP_ATTR_L2SPEC_LEN, /* u8 (not used) */
|
|
|
d8fb9e |
L2TP_ATTR_PROTO_VERSION, /* u8 */
|
|
|
d8fb9e |
@@ -105,7 +105,7 @@ enum {
|
|
|
d8fb9e |
L2TP_ATTR_SESSION_ID, /* u32 */
|
|
|
d8fb9e |
L2TP_ATTR_PEER_SESSION_ID, /* u32 */
|
|
|
d8fb9e |
L2TP_ATTR_UDP_CSUM, /* u8 */
|
|
|
d8fb9e |
- L2TP_ATTR_VLAN_ID, /* u16 */
|
|
|
d8fb9e |
+ L2TP_ATTR_VLAN_ID, /* u16 (not used) */
|
|
|
d8fb9e |
L2TP_ATTR_COOKIE, /* 0, 4 or 8 bytes */
|
|
|
d8fb9e |
L2TP_ATTR_PEER_COOKIE, /* 0, 4 or 8 bytes */
|
|
|
d8fb9e |
L2TP_ATTR_DEBUG, /* u32, enum l2tp_debug_flags */
|
|
|
d8fb9e |
@@ -119,8 +119,8 @@ enum {
|
|
|
d8fb9e |
L2TP_ATTR_IP_DADDR, /* u32 */
|
|
|
d8fb9e |
L2TP_ATTR_UDP_SPORT, /* u16 */
|
|
|
d8fb9e |
L2TP_ATTR_UDP_DPORT, /* u16 */
|
|
|
d8fb9e |
- L2TP_ATTR_MTU, /* u16 */
|
|
|
d8fb9e |
- L2TP_ATTR_MRU, /* u16 */
|
|
|
d8fb9e |
+ L2TP_ATTR_MTU, /* u16 (not used) */
|
|
|
d8fb9e |
+ L2TP_ATTR_MRU, /* u16 (not used) */
|
|
|
d8fb9e |
L2TP_ATTR_STATS, /* nested */
|
|
|
d8fb9e |
L2TP_ATTR_IP6_SADDR, /* struct in6_addr */
|
|
|
d8fb9e |
L2TP_ATTR_IP6_DADDR, /* struct in6_addr */
|
|
|
d8fb9e |
@@ -169,6 +169,7 @@ enum l2tp_encap_type {
|
|
|
d8fb9e |
L2TP_ENCAPTYPE_IP,
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
+/* For L2TP_ATTR_DATA_SEQ. Unused. */
|
|
|
d8fb9e |
enum l2tp_seqmode {
|
|
|
d8fb9e |
L2TP_SEQ_NONE = 0,
|
|
|
d8fb9e |
L2TP_SEQ_IP = 1,
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/netconf.h b/include/uapi/linux/netconf.h
|
|
|
d8fb9e |
index 86ac1eb4c06e3..229e885179ad6 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/netconf.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/netconf.h
|
|
|
d8fb9e |
@@ -18,6 +18,7 @@ enum {
|
|
|
d8fb9e |
NETCONFA_PROXY_NEIGH,
|
|
|
d8fb9e |
NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
|
|
|
d8fb9e |
NETCONFA_INPUT,
|
|
|
d8fb9e |
+ NETCONFA_BC_FORWARDING,
|
|
|
d8fb9e |
__NETCONFA_MAX
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
#define NETCONFA_MAX (__NETCONFA_MAX - 1)
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
|
|
|
d8fb9e |
index b4512254036b9..be382fb0592d8 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/pkt_cls.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/pkt_cls.h
|
|
|
d8fb9e |
@@ -45,6 +45,7 @@ enum {
|
|
|
d8fb9e |
* the skb and act like everything
|
|
|
d8fb9e |
* is alright.
|
|
|
d8fb9e |
*/
|
|
|
d8fb9e |
+#define TC_ACT_VALUE_MAX TC_ACT_TRAP
|
|
|
d8fb9e |
|
|
|
d8fb9e |
/* There is a special kind of actions called "extended actions",
|
|
|
d8fb9e |
* which need a value parameter. These have a local opcode located in
|
|
|
d8fb9e |
@@ -55,11 +56,12 @@ enum {
|
|
|
d8fb9e |
#define __TC_ACT_EXT_SHIFT 28
|
|
|
d8fb9e |
#define __TC_ACT_EXT(local) ((local) << __TC_ACT_EXT_SHIFT)
|
|
|
d8fb9e |
#define TC_ACT_EXT_VAL_MASK ((1 << __TC_ACT_EXT_SHIFT) - 1)
|
|
|
d8fb9e |
-#define TC_ACT_EXT_CMP(combined, opcode) \
|
|
|
d8fb9e |
- (((combined) & (~TC_ACT_EXT_VAL_MASK)) == opcode)
|
|
|
d8fb9e |
+#define TC_ACT_EXT_OPCODE(combined) ((combined) & (~TC_ACT_EXT_VAL_MASK))
|
|
|
d8fb9e |
+#define TC_ACT_EXT_CMP(combined, opcode) (TC_ACT_EXT_OPCODE(combined) == opcode)
|
|
|
d8fb9e |
|
|
|
d8fb9e |
#define TC_ACT_JUMP __TC_ACT_EXT(1)
|
|
|
d8fb9e |
#define TC_ACT_GOTO_CHAIN __TC_ACT_EXT(2)
|
|
|
d8fb9e |
+#define TC_ACT_EXT_OPCODE_MAX TC_ACT_GOTO_CHAIN
|
|
|
d8fb9e |
|
|
|
d8fb9e |
/* Action type identifiers*/
|
|
|
d8fb9e |
enum {
|
|
|
d8fb9e |
@@ -478,11 +480,37 @@ enum {
|
|
|
d8fb9e |
TCA_FLOWER_KEY_ENC_IP_TTL, /* u8 */
|
|
|
d8fb9e |
TCA_FLOWER_KEY_ENC_IP_TTL_MASK, /* u8 */
|
|
|
d8fb9e |
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPTS,
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPTS_MASK,
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
__TCA_FLOWER_MAX,
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
#define TCA_FLOWER_MAX (__TCA_FLOWER_MAX - 1)
|
|
|
d8fb9e |
|
|
|
d8fb9e |
+enum {
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPTS_UNSPEC,
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPTS_GENEVE, /* Nested
|
|
|
d8fb9e |
+ * TCA_FLOWER_KEY_ENC_OPT_GENEVE_
|
|
|
d8fb9e |
+ * attributes
|
|
|
d8fb9e |
+ */
|
|
|
d8fb9e |
+ __TCA_FLOWER_KEY_ENC_OPTS_MAX,
|
|
|
d8fb9e |
+};
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
+#define TCA_FLOWER_KEY_ENC_OPTS_MAX (__TCA_FLOWER_KEY_ENC_OPTS_MAX - 1)
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
+enum {
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPT_GENEVE_UNSPEC,
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPT_GENEVE_CLASS, /* u16 */
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPT_GENEVE_TYPE, /* u8 */
|
|
|
d8fb9e |
+ TCA_FLOWER_KEY_ENC_OPT_GENEVE_DATA, /* 4 to 128 bytes */
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
+ __TCA_FLOWER_KEY_ENC_OPT_GENEVE_MAX,
|
|
|
d8fb9e |
+};
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
+#define TCA_FLOWER_KEY_ENC_OPT_GENEVE_MAX \
|
|
|
d8fb9e |
+ (__TCA_FLOWER_KEY_ENC_OPT_GENEVE_MAX - 1)
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
enum {
|
|
|
d8fb9e |
TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = (1 << 0),
|
|
|
d8fb9e |
TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = (1 << 1),
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/tcp.h b/include/uapi/linux/tcp.h
|
|
|
d8fb9e |
index 2e766cf303fbe..d4db674df06b4 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/tcp.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/tcp.h
|
|
|
d8fb9e |
@@ -231,6 +231,11 @@ struct tcp_info {
|
|
|
d8fb9e |
|
|
|
d8fb9e |
__u32 tcpi_delivered;
|
|
|
d8fb9e |
__u32 tcpi_delivered_ce;
|
|
|
d8fb9e |
+
|
|
|
d8fb9e |
+ __u64 tcpi_bytes_sent; /* RFC4898 tcpEStatsPerfHCDataOctetsOut */
|
|
|
d8fb9e |
+ __u64 tcpi_bytes_retrans; /* RFC4898 tcpEStatsPerfOctetsRetrans */
|
|
|
d8fb9e |
+ __u32 tcpi_dsack_dups; /* RFC4898 tcpEStatsStackDSACKDups */
|
|
|
d8fb9e |
+ __u32 tcpi_reord_seen; /* reordering events seen */
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
/* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */
|
|
|
d8fb9e |
@@ -253,7 +258,10 @@ enum {
|
|
|
d8fb9e |
TCP_NLA_SND_SSTHRESH, /* Slow start size threshold */
|
|
|
d8fb9e |
TCP_NLA_DELIVERED, /* Data pkts delivered incl. out-of-order */
|
|
|
d8fb9e |
TCP_NLA_DELIVERED_CE, /* Like above but only ones w/ CE marks */
|
|
|
d8fb9e |
-
|
|
|
d8fb9e |
+ TCP_NLA_BYTES_SENT, /* Data bytes sent including retransmission */
|
|
|
d8fb9e |
+ TCP_NLA_BYTES_RETRANS, /* Data bytes retransmitted */
|
|
|
d8fb9e |
+ TCP_NLA_DSACK_DUPS, /* DSACK blocks received */
|
|
|
d8fb9e |
+ TCP_NLA_REORD_SEEN, /* reordering events seen */
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
/* for TCP_MD5SIG socket option */
|
|
|
d8fb9e |
diff --git a/include/uapi/linux/xfrm.h b/include/uapi/linux/xfrm.h
|
|
|
d8fb9e |
index 93fb1920101a2..5cdda9d37bdc0 100644
|
|
|
d8fb9e |
--- a/include/uapi/linux/xfrm.h
|
|
|
d8fb9e |
+++ b/include/uapi/linux/xfrm.h
|
|
|
d8fb9e |
@@ -305,9 +305,12 @@ enum xfrm_attr_type_t {
|
|
|
d8fb9e |
XFRMA_ADDRESS_FILTER, /* struct xfrm_address_filter */
|
|
|
d8fb9e |
XFRMA_PAD,
|
|
|
d8fb9e |
XFRMA_OFFLOAD_DEV, /* struct xfrm_state_offload */
|
|
|
d8fb9e |
- XFRMA_OUTPUT_MARK, /* __u32 */
|
|
|
d8fb9e |
+ XFRMA_SET_MARK, /* __u32 */
|
|
|
d8fb9e |
+ XFRMA_SET_MARK_MASK, /* __u32 */
|
|
|
d8fb9e |
+ XFRMA_IF_ID, /* __u32 */
|
|
|
d8fb9e |
__XFRMA_MAX
|
|
|
d8fb9e |
|
|
|
d8fb9e |
+#define XFRMA_OUTPUT_MARK XFRMA_SET_MARK /* Compatibility */
|
|
|
d8fb9e |
#define XFRMA_MAX (__XFRMA_MAX - 1)
|
|
|
d8fb9e |
};
|
|
|
d8fb9e |
|
|
|
d8fb9e |
--
|
|
|
d8fb9e |
2.25.3
|
|
|
d8fb9e |
|