Recent kernel additions to TC allows the manipulation of MPLS headers as filter actions.
The following patchset creates an iproute2 interface to the new actions and includes documentation on how to use it. v1->v2: - change error from print_string() to fprintf(strerr,) (Stephen Hemminger) - split long line in explain() message (David Ahern) - use _SL_ instead of /n in print message (David Ahern) John Hurley (3): lib: add mpls_uc and mpls_mc as link layer protocol names tc: add mpls actions man: update man pages for TC MPLS actions lib/ll_proto.c | 2 + man/man8/tc-mpls.8 | 156 ++++++++++++++++++++++++++++++ tc/Makefile | 1 + tc/m_mpls.c | 276 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 435 insertions(+) create mode 100644 man/man8/tc-mpls.8 create mode 100644 tc/m_mpls.c -- 2.7.4