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
builtin counters for bytes and packets.
Stef
--
[EMAIL PROTECTED]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/