iproute2/etc/iproute2
Eyal Birger dd29621578 tc: add em_ipt ematch for calling xtables matches from tc matching context
The commit calls a new tc ematch for using netfilter xtable matches.

This allows early classification as well as mirroning/redirecting traffic
based on logic implemented in netfilter extensions.

Current supported use case is classification based on the incoming IPSec
state used during decpsulation using the 'policy' iptables extension
(xt_policy).

The matcher uses libxtables for parsing the input parameters.

Example use for matching an IPSec state with reqid 1:

tc qdisc add dev eth0 ingress
tc filter add dev eth0 protocol ip parent ffff: \
    basic match 'ipt(-m policy --dir in --pol ipsec --reqid 1)' \
    action drop

This is the user-space counter part of kernel commit ccc007e4a746
("net: sched: add em_ipt ematch for calling xtables matches")

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2018-02-27 09:43:16 -08:00
..
rt_protos.d Add support for rt_protos.d 2017-01-12 17:31:18 -08:00
rt_tables.d Add support for rt_protos.d 2017-01-12 17:31:18 -08:00
bpf_pinning {f, m}_bpf: allow for user-defined object pinnings 2015-11-29 11:55:16 -08:00
ematch_map tc: add em_ipt ematch for calling xtables matches from tc matching context 2018-02-27 09:43:16 -08:00
group iproute2: support listing devices by group 2011-04-12 14:18:05 -07:00
nl_protos whitespace cleanup 2017-01-12 17:31:20 -08:00
rt_dsfield rt_dsfield: fix Expedited Forwarding PHB 2014-12-03 18:50:59 -08:00
rt_protos iproute2: Add support for babel protocol table entry 2014-11-29 11:24:25 -08:00
rt_realms (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rt_scopes (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rt_tables (Logical change 1.3) 2004-04-15 20:56:59 +00:00