Lines Matching full:mpls
8 #include <linux/mpls.h>
12 #include <net/mpls.h>
64 /* Ensure 'data' points at mac_header prior calling mpls manipulating in tcf_mpls_act()
137 NL_SET_ERR_MSG_MOD(extack, "Invalid MPLS label length"); in valid_label()
142 NL_SET_ERR_MSG_MOD(extack, "MPLS label out of range"); in valid_label()
186 NL_SET_ERR_MSG_MOD(extack, "No MPLS params"); in tcf_mpls_init()
196 NL_SET_ERR_MSG_MOD(extack, "Protocol must be set for MPLS pop"); in tcf_mpls_init()
200 NL_SET_ERR_MSG_MOD(extack, "Invalid protocol type for MPLS pop"); in tcf_mpls_init()
205 NL_SET_ERR_MSG_MOD(extack, "Label, TTL, TC or BOS cannot be used with MPLS pop"); in tcf_mpls_init()
212 NL_SET_ERR_MSG_MOD(extack, "Label, TTL, TC, BOS or protocol cannot be used with MPLS dec_ttl"); in tcf_mpls_init()
219 NL_SET_ERR_MSG_MOD(extack, "Label is required for MPLS push"); in tcf_mpls_init()
224 NL_SET_ERR_MSG_MOD(extack, "Protocol must be an MPLS type for MPLS push"); in tcf_mpls_init()
230 mpls_ttl = net->mpls.default_ttl ? in tcf_mpls_init()
231 net->mpls.default_ttl : ACT_MPLS_TTL_DEFAULT; in tcf_mpls_init()
239 NL_SET_ERR_MSG_MOD(extack, "Protocol cannot be used with MPLS modify"); in tcf_mpls_init()
244 NL_SET_ERR_MSG_MOD(extack, "Unknown MPLS action"); in tcf_mpls_init()
394 .kind = "mpls",
441 MODULE_DESCRIPTION("MPLS manipulation actions");