diff options
author | Paul Chaignon <paul@isovalent.com> | 2022-07-25 16:31:37 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-07-26 12:43:16 +0200 |
commit | 451ef36bd229f8aa329cb2258a859b4c636d08ef (patch) | |
tree | 032c167386ac13d1d5577cca7f7380792d1d7541 /include/net | |
parent | 8e4372e617854a16d4ec549ba821aad78fd748a6 (diff) | |
download | lwn-451ef36bd229f8aa329cb2258a859b4c636d08ef.tar.gz lwn-451ef36bd229f8aa329cb2258a859b4c636d08ef.zip |
ip_tunnels: Add new flow flags field to ip_tunnel_key
This commit extends the ip_tunnel_key struct with a new field for the
flow flags, to pass them to the route lookups. This new field will be
populated and used in subsequent commits.
Signed-off-by: Paul Chaignon <paul@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/f8bfd4983bd06685a59b1e3ba76ca27496f51ef3.1658759380.git.paul@isovalent.com
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip_tunnels.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h index 20db95055db3..63fac94f9ace 100644 --- a/include/net/ip_tunnels.h +++ b/include/net/ip_tunnels.h @@ -54,6 +54,7 @@ struct ip_tunnel_key { __be32 label; /* Flow Label for IPv6 */ __be16 tp_src; __be16 tp_dst; + __u8 flow_flags; }; /* Flags for ip_tunnel_info mode. */ |