tc filter del won't work

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have created a filter with the following command:

tc filter add dev peth1 parent 1: protocol ip prio 16 u32 match ip src x.x.x.x flowid 1:1

And here is the output of "tc filter show dev peth1":

filter parent 1: protocol ip pref 16 u32
filter parent 1: protocol ip pref 16 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 16 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:1
  match 5bd6aaf9/ffffffff at 12

If I have multiple filters, how do I know, which filter is that I configured before?
And how do I delete only 1 filter?

I tried it with:

tc filter del dev peth1 pref 1 protocol ip handle 800:.800 u32
But I always get:
RTNETLINK answers: No such file or directory
We have an error talking to the kernel

Regards,

Vincent Jancso
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux