Lines Matching refs:nlattr
87 tunnel_key_copy_geneve_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_geneve_opt()
90 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_GENEVE_MAX + 1]; in tunnel_key_copy_geneve_opt()
139 tunnel_key_copy_vxlan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_vxlan_opt()
142 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_VXLAN_MAX + 1]; in tunnel_key_copy_vxlan_opt()
166 tunnel_key_copy_erspan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_erspan_opt()
169 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_ERSPAN_MAX + 1]; in tunnel_key_copy_erspan_opt()
218 static int tunnel_key_copy_opts(const struct nlattr *nla, u8 *dst, in tunnel_key_copy_opts()
222 const struct nlattr *attr, *head = nla_data(nla); in tunnel_key_copy_opts()
291 static int tunnel_key_get_opts_len(struct nlattr *nla, in tunnel_key_get_opts_len()
297 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set()
356 static int tunnel_key_init(struct net *net, struct nlattr *nla, in tunnel_key_init()
357 struct nlattr *est, struct tc_action **a, in tunnel_key_init()
363 struct nlattr *tb[TCA_TUNNEL_KEY_MAX + 1]; in tunnel_key_init()
572 struct nlattr *start; in tunnel_key_geneve_opts_dump()
603 struct nlattr *start; in tunnel_key_vxlan_opts_dump()
622 struct nlattr *start; in tunnel_key_erspan_opts_dump()
652 struct nlattr *start; in tunnel_key_opts_dump()