Lines Matching refs:extack
109 struct netlink_ext_ack *extack) in valid_label() argument
114 NL_SET_ERR_MSG_MOD(extack, "MPLS label out of range"); in valid_label()
134 struct tcf_proto *tp, struct netlink_ext_ack *extack) in tcf_mpls_init() argument
148 NL_SET_ERR_MSG_MOD(extack, "Missing netlink attributes"); in tcf_mpls_init()
152 err = nla_parse_nested(tb, TCA_MPLS_MAX, nla, mpls_policy, extack); in tcf_mpls_init()
157 NL_SET_ERR_MSG_MOD(extack, "No MPLS params"); in tcf_mpls_init()
167 NL_SET_ERR_MSG_MOD(extack, "Protocol must be set for MPLS pop"); in tcf_mpls_init()
171 NL_SET_ERR_MSG_MOD(extack, "Invalid protocol type for MPLS pop"); in tcf_mpls_init()
176 NL_SET_ERR_MSG_MOD(extack, "Label, TTL, TC or BOS cannot be used with MPLS pop"); in tcf_mpls_init()
183 NL_SET_ERR_MSG_MOD(extack, "Label, TTL, TC, BOS or protocol cannot be used with MPLS dec_ttl"); in tcf_mpls_init()
189 NL_SET_ERR_MSG_MOD(extack, "Label is required for MPLS push"); in tcf_mpls_init()
194 NL_SET_ERR_MSG_MOD(extack, "Protocol must be an MPLS type for MPLS push"); in tcf_mpls_init()
209 NL_SET_ERR_MSG_MOD(extack, "Protocol cannot be used with MPLS modify"); in tcf_mpls_init()
214 NL_SET_ERR_MSG_MOD(extack, "Unknown MPLS action"); in tcf_mpls_init()
239 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_mpls_init()
351 struct netlink_ext_ack *extack) in tcf_mpls_walker() argument
355 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tcf_mpls_walker()