Lines Matching refs:extack

91 			       struct netlink_ext_ack *extack)  in br_mep_create_parse()  argument
99 br_cfm_mep_create_policy, extack); in br_mep_create_parse()
104 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_mep_create_parse()
108 NL_SET_ERR_MSG_MOD(extack, "Missing DOMAIN attribute"); in br_mep_create_parse()
112 NL_SET_ERR_MSG_MOD(extack, "Missing DIRECTION attribute"); in br_mep_create_parse()
116 NL_SET_ERR_MSG_MOD(extack, "Missing IFINDEX attribute"); in br_mep_create_parse()
127 return br_cfm_mep_create(br, instance, &create, extack); in br_mep_create_parse()
131 struct netlink_ext_ack *extack) in br_mep_delete_parse() argument
138 br_cfm_mep_delete_policy, extack); in br_mep_delete_parse()
143 NL_SET_ERR_MSG_MOD(extack, in br_mep_delete_parse()
150 return br_cfm_mep_delete(br, instance, extack); in br_mep_delete_parse()
154 struct netlink_ext_ack *extack) in br_mep_config_parse() argument
162 br_cfm_mep_config_policy, extack); in br_mep_config_parse()
167 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_mep_config_parse()
171 NL_SET_ERR_MSG_MOD(extack, "Missing UNICAST_MAC attribute"); in br_mep_config_parse()
175 NL_SET_ERR_MSG_MOD(extack, "Missing MDLEVEL attribute"); in br_mep_config_parse()
179 NL_SET_ERR_MSG_MOD(extack, "Missing MEPID attribute"); in br_mep_config_parse()
192 return br_cfm_mep_config_set(br, instance, &config, extack); in br_mep_config_parse()
196 struct netlink_ext_ack *extack) in br_cc_config_parse() argument
204 br_cfm_cc_config_policy, extack); in br_cc_config_parse()
209 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_cc_config_parse()
213 NL_SET_ERR_MSG_MOD(extack, "Missing ENABLE attribute"); in br_cc_config_parse()
217 NL_SET_ERR_MSG_MOD(extack, "Missing INTERVAL attribute"); in br_cc_config_parse()
221 NL_SET_ERR_MSG_MOD(extack, "Missing MAID attribute"); in br_cc_config_parse()
233 return br_cfm_cc_config_set(br, instance, &config, extack); in br_cc_config_parse()
237 struct netlink_ext_ack *extack) in br_cc_peer_mep_add_parse() argument
244 br_cfm_cc_peer_mep_policy, extack); in br_cc_peer_mep_add_parse()
249 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_cc_peer_mep_add_parse()
253 NL_SET_ERR_MSG_MOD(extack, "Missing PEER_MEP_ID attribute"); in br_cc_peer_mep_add_parse()
260 return br_cfm_cc_peer_mep_add(br, instance, peer_mep_id, extack); in br_cc_peer_mep_add_parse()
264 struct netlink_ext_ack *extack) in br_cc_peer_mep_remove_parse() argument
271 br_cfm_cc_peer_mep_policy, extack); in br_cc_peer_mep_remove_parse()
276 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_cc_peer_mep_remove_parse()
280 NL_SET_ERR_MSG_MOD(extack, "Missing PEER_MEP_ID attribute"); in br_cc_peer_mep_remove_parse()
287 return br_cfm_cc_peer_mep_remove(br, instance, peer_mep_id, extack); in br_cc_peer_mep_remove_parse()
291 struct netlink_ext_ack *extack) in br_cc_rdi_parse() argument
298 br_cfm_cc_rdi_policy, extack); in br_cc_rdi_parse()
303 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_cc_rdi_parse()
307 NL_SET_ERR_MSG_MOD(extack, "Missing RDI attribute"); in br_cc_rdi_parse()
314 return br_cfm_cc_rdi_set(br, instance, rdi, extack); in br_cc_rdi_parse()
318 struct netlink_ext_ack *extack) in br_cc_ccm_tx_parse() argument
326 br_cfm_cc_ccm_tx_policy, extack); in br_cc_ccm_tx_parse()
331 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_cc_ccm_tx_parse()
335 NL_SET_ERR_MSG_MOD(extack, "Missing DMAC attribute"); in br_cc_ccm_tx_parse()
339 NL_SET_ERR_MSG_MOD(extack, "Missing SEQ_NO_UPDATE attribute"); in br_cc_ccm_tx_parse()
343 NL_SET_ERR_MSG_MOD(extack, "Missing PERIOD attribute"); in br_cc_ccm_tx_parse()
347 NL_SET_ERR_MSG_MOD(extack, "Missing IF_TLV attribute"); in br_cc_ccm_tx_parse()
351 NL_SET_ERR_MSG_MOD(extack, "Missing IF_TLV_VALUE attribute"); in br_cc_ccm_tx_parse()
355 NL_SET_ERR_MSG_MOD(extack, "Missing PORT_TLV attribute"); in br_cc_ccm_tx_parse()
359 NL_SET_ERR_MSG_MOD(extack, "Missing PORT_TLV_VALUE attribute"); in br_cc_ccm_tx_parse()
376 return br_cfm_cc_ccm_tx(br, instance, &tx_info, extack); in br_cc_ccm_tx_parse()
380 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) in br_cfm_parse() argument
392 br_cfm_policy, extack); in br_cfm_parse()
398 extack); in br_cfm_parse()
405 extack); in br_cfm_parse()
412 extack); in br_cfm_parse()
419 extack); in br_cfm_parse()
426 extack); in br_cfm_parse()
433 extack); in br_cfm_parse()
440 extack); in br_cfm_parse()
447 extack); in br_cfm_parse()