[PATCH net-next 0/2] flower: add MPLS matching support

Benjamin LaHaise
2017-04-22T20:53:58Z

From: Benjamin LaHaise <bcrl@kvack.org>

This patch series adds support for parsing MPLS flows in the flow dissector
and the flower classifier. Each of the MPLS TTL, BOS, TC and Label fields
can be used for matching.

v2: incorporate style feedback, move #defines to linux/include/mpls.h
Note: this omits Jiri's request to remove tabs between the type and
field names in struct declarations. This would be inconsistent with
numerous other struct definitions.

Benjamin LaHaise (2):
flow_dissector: add mpls support (v2)
cls_flower: add support for matching MPLS fields (v2)

include/linux/mpls.h | 5 +++
include/net/flow_dissector.h | 8 +++++
include/uapi/linux/pkt_cls.h | 5 +++
net/core/flow_dissector.c | 25 +++++++++++++--
net/sched/cls_flower.c | 74 ++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 114 insertions(+), 3 deletions(-)

--
2.7.4