Skip to content

Commit 451ef36

Browse files
pchaignoborkmann
authored andcommitted
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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Nikolay Aleksandrov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/f8bfd4983bd06685a59b1e3ba76ca27496f51ef3.1658759380.git.paul@isovalent.com
1 parent 8e4372e commit 451ef36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/net/ip_tunnels.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ struct ip_tunnel_key {
5454
__be32 label; /* Flow Label for IPv6 */
5555
__be16 tp_src;
5656
__be16 tp_dst;
57+
__u8 flow_flags;
5758
};
5859

5960
/* Flags for ip_tunnel_info mode. */

0 commit comments

Comments
 (0)