]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: add ipset ematch
authorFlorian Westphal <fw@strlen.de>
Thu, 9 Aug 2012 09:18:50 +0000 (09:18 +0000)
committerStephen Hemminger <shemminger@vyatta.com>
Mon, 13 Aug 2012 15:33:50 +0000 (08:33 -0700)
commit8194411a426584330d3bea0498641bbfe86c8933
treefeec07588aceb2f0752823bf36ef87275f405cd2
parentaf9d406f99853848054162ed7aefbe71dc03e433
tc: add ipset ematch

example usage:
tc filter add dev $dev parent $id: basic match not ipset'(foobar src)' ..

also updates iproute2/ematch_map, else tc complains:
Error: Unable to find ematch "ipset" in /etc/iproute2/ematch_map
Please assign a unique ID to the ematch kind the suggested entry is:
        8       ipset

when trying to use this ematch.

(text ematch (5) only exists in kernel, a vlan ematch (6) exists neither in
 kernel nor userspace, but kernel headers define TCF_EM_VLAN == 6).
configure
etc/iproute2/ematch_map
tc/Makefile
tc/em_ipset.c [new file with mode: 0644]