Lines Matching refs:extack

72 			   struct netlink_ext_ack *extack)  in tunnel_key_copy_geneve_opt()  argument
79 nla, geneve_opt_policy, extack); in tunnel_key_copy_geneve_opt()
86 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt()
93 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt()
97 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt()
122 int dst_len, struct netlink_ext_ack *extack) in tunnel_key_copy_opts() argument
128 enc_opts_policy, extack); in tunnel_key_copy_opts()
136 dst_len, extack); in tunnel_key_copy_opts()
149 NL_SET_ERR_MSG(extack, "Empty list of tunnel options"); in tunnel_key_copy_opts()
154 NL_SET_ERR_MSG(extack, "Trailing data after parsing tunnel key options attributes"); in tunnel_key_copy_opts()
162 struct netlink_ext_ack *extack) in tunnel_key_get_opts_len() argument
164 return tunnel_key_copy_opts(nla, NULL, 0, extack); in tunnel_key_get_opts_len()
168 int opts_len, struct netlink_ext_ack *extack) in tunnel_key_opts_set() argument
176 opts_len, extack); in tunnel_key_opts_set()
181 NL_SET_ERR_MSG(extack, "Cannot set tunnel options for unknown tunnel type"); in tunnel_key_opts_set()
203 struct netlink_ext_ack *extack) in tunnel_key_init() argument
221 NL_SET_ERR_MSG(extack, "Tunnel requires attributes to be passed"); in tunnel_key_init()
226 extack); in tunnel_key_init()
228 NL_SET_ERR_MSG(extack, "Failed to parse nested tunnel key attributes"); in tunnel_key_init()
233 NL_SET_ERR_MSG(extack, "Missing tunnel key parameters"); in tunnel_key_init()
250 NL_SET_ERR_MSG(extack, "Missing tunnel key id"); in tunnel_key_init()
267 extack); in tunnel_key_init()
304 NL_SET_ERR_MSG(extack, "Missing either ipv4 or ipv6 src and dst"); in tunnel_key_init()
310 NL_SET_ERR_MSG(extack, "Cannot allocate tunnel metadata dst"); in tunnel_key_init()
318 opts_len, extack); in tunnel_key_init()
326 NL_SET_ERR_MSG(extack, "Unknown tunnel key action"); in tunnel_key_init()
335 NL_SET_ERR_MSG(extack, "Cannot create TC IDR"); in tunnel_key_init()
341 NL_SET_ERR_MSG(extack, "TC IDR already exists"); in tunnel_key_init()
350 NL_SET_ERR_MSG(extack, "Cannot allocate tunnel key parameters"); in tunnel_key_init()
544 struct netlink_ext_ack *extack) in tunnel_key_walker() argument
548 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tunnel_key_walker()
552 struct netlink_ext_ack *extack) in tunnel_key_search() argument