[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1515761845-31323-1-git-send-email-eyal.birger@gmail.com>
Date: Fri, 12 Jan 2018 14:57:23 +0200
From: Eyal Birger <eyal.birger@...il.com>
To: netdev@...r.kernel.org, pablo@...filter.org, jhs@...atatu.com
Cc: coreteam@...filter.org, shmulik@...anetworks.com,
Eyal Birger <eyal@...anetworks.com>
Subject: [PATCH net-next 0/2] net: sched: Introduce em_policy ematch
From: Eyal Birger <eyal@...anetworks.com>
The following patchset introduces a new tc ematch for matching IPSec
traffic from a tc context.
This allows early classification as well as mirroning/redirecting IPSec
traffic based on decapsulation criteria.
The matching functionality is based on the netfilter xt_policy match, and
shares code and data structures.
Eyal Birger (2):
net: netfilter: export xt_policy match_policy_in() as
xt_policy_match_policy_in()
net: sched: add xfrm policy ematch
include/net/netfilter/xt_policy.h | 12 ++++
include/uapi/linux/pkt_cls.h | 3 +-
net/netfilter/xt_policy.c | 18 +++---
net/sched/Kconfig | 10 ++++
net/sched/Makefile | 1 +
net/sched/em_policy.c | 117 ++++++++++++++++++++++++++++++++++++++
6 files changed, 152 insertions(+), 9 deletions(-)
create mode 100644 include/net/netfilter/xt_policy.h
create mode 100644 net/sched/em_policy.c
--
2.7.4
Powered by blists - more mailing lists