[PATCH iproute2-next 0/2] PPPoE support in tc-flower
From: Wojciech Drewek <hidden>
Date: 2022-07-14 08:27:33
This patchset implements support for matching on PPPoE specific fields using tc-flower. First patch adds support for parsing ppp protocols and it also introduces small refactor which allows to use same mechanism of finding protocol for both ppp and ether protocols. Second patch is about parsing PPPoE fields. Kernel changes: https://lore.kernel.org/netdev/20220708122421.19309-1-marcin.szycik@linux.intel.com/T/#t (local) Wojciech Drewek (2): lib: Introduce ppp protocols f_flower: Introduce PPPoE support include/rt_names.h | 3 ++ include/uapi/linux/pkt_cls.h | 3 ++ include/uapi/linux/ppp_defs.h | 37 +++++++++++++++++++++++ include/utils.h | 10 +++++++ lib/Makefile | 2 +- lib/ll_proto.c | 33 +++++---------------- lib/ppp_proto.c | 52 ++++++++++++++++++++++++++++++++ lib/utils.c | 34 +++++++++++++++++++++ man/man8/tc-flower.8 | 17 ++++++++++- tc/f_flower.c | 56 +++++++++++++++++++++++++++++++++++ 10 files changed, 220 insertions(+), 27 deletions(-) create mode 100644 include/uapi/linux/ppp_defs.h create mode 100644 lib/ppp_proto.c -- 2.31.1