diff options
author | Florian Westphal <fw@strlen.de> | 2012-08-09 09:18:50 +0000 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-13 08:33:50 -0700 |
commit | 8194411a426584330d3bea0498641bbfe86c8933 (patch) | |
tree | feec07588aceb2f0752823bf36ef87275f405cd2 /etc | |
parent | af9d406f99853848054162ed7aefbe71dc03e433 (diff) | |
download | iproute2-8194411a426584330d3bea0498641bbfe86c8933.tar.gz |
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).
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iproute2/ematch_map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/iproute2/ematch_map b/etc/iproute2/ematch_map index 7c6a2817..69b007d0 100644 --- a/etc/iproute2/ematch_map +++ b/etc/iproute2/ematch_map @@ -3,3 +3,4 @@ 2 nbyte 3 u32 4 meta +8 ipset |