2 * Copyright (c) 2016, Amir Vadai <amir@vadai.me>
3 * Copyright (c) 2016, Mellanox Technologies. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
11 #ifndef __NET_TC_TUNNEL_KEY_H
12 #define __NET_TC_TUNNEL_KEY_H
14 #include <net/act_api.h>
16 struct tcf_tunnel_key_params {
19 struct metadata_dst *tcft_enc_metadata;
22 struct tcf_tunnel_key {
23 struct tc_action common;
24 struct tcf_tunnel_key_params __rcu *params;
27 #define to_tunnel_key(a) ((struct tcf_tunnel_key *)a)
29 #endif /* __NET_TC_TUNNEL_KEY_H */