Lines Matching refs:extack

69 			   struct netlink_ext_ack *extack)  in tunnel_key_copy_geneve_opt()  argument
77 nla, geneve_opt_policy, extack); in tunnel_key_copy_geneve_opt()
84 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt()
91 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt()
95 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt()
120 int dst_len, struct netlink_ext_ack *extack) in tunnel_key_copy_opts() argument
126 enc_opts_policy, extack); in tunnel_key_copy_opts()
134 dst_len, extack); in tunnel_key_copy_opts()
139 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in tunnel_key_copy_opts()
151 NL_SET_ERR_MSG(extack, "Empty list of tunnel options"); in tunnel_key_copy_opts()
156 NL_SET_ERR_MSG(extack, "Trailing data after parsing tunnel key options attributes"); in tunnel_key_copy_opts()
164 struct netlink_ext_ack *extack) in tunnel_key_get_opts_len() argument
166 return tunnel_key_copy_opts(nla, NULL, 0, extack); in tunnel_key_get_opts_len()
170 int opts_len, struct netlink_ext_ack *extack) in tunnel_key_opts_set() argument
178 opts_len, extack); in tunnel_key_opts_set()
183 NL_SET_ERR_MSG(extack, "Cannot set tunnel options for unknown tunnel type"); in tunnel_key_opts_set()
216 struct netlink_ext_ack *extack) in tunnel_key_init() argument
236 NL_SET_ERR_MSG(extack, "Tunnel requires attributes to be passed"); in tunnel_key_init()
241 tunnel_key_policy, extack); in tunnel_key_init()
243 NL_SET_ERR_MSG(extack, "Failed to parse nested tunnel key attributes"); in tunnel_key_init()
248 NL_SET_ERR_MSG(extack, "Missing tunnel key parameters"); in tunnel_key_init()
283 extack); in tunnel_key_init()
320 NL_SET_ERR_MSG(extack, "Missing either ipv4 or ipv6 src and dst"); in tunnel_key_init()
326 NL_SET_ERR_MSG(extack, "Cannot allocate tunnel metadata dst"); in tunnel_key_init()
340 opts_len, extack); in tunnel_key_init()
348 NL_SET_ERR_MSG(extack, "Unknown tunnel key action"); in tunnel_key_init()
357 NL_SET_ERR_MSG(extack, "Cannot create TC IDR"); in tunnel_key_init()
363 NL_SET_ERR_MSG(extack, "TC IDR already exists"); in tunnel_key_init()
368 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tunnel_key_init()
378 NL_SET_ERR_MSG(extack, "Cannot allocate tunnel key parameters"); in tunnel_key_init()
576 struct netlink_ext_ack *extack) in tunnel_key_walker() argument
580 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tunnel_key_walker()