On Sunday 01 December 2002 08:18, Folke Aeon wrote:
> hi, all
>
> i run the following scripts :
> tc qdisc add dev eth0 handle ffff: ingress
> tc filter add dev eth0 parent ffff: protocol ip \
> pref 4 u32 match ip dst 10.0.0.1 flowid :1
>
> my question is :
>
> can i know how many packets are matched by
> this filter?
No
> if i can , what should i do to get this
> counter value, then.
But you can make a iptables rule that matches the same packets. Iptables=
has=20
builtin counters for bytes and packets.
Stef
--=20
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net