hi i wanted to get the qdisc stats without using tc. is this possible by just using rtnetlink sockets directly? if possible could someone point me to an example. thanks. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
Le lundi 28 mars 2005 à 14:17 -0800, js si a écrit :> hi > > i wanted to get the qdisc stats without using tc. is > this possible by just using rtnetlink sockets > directly? if possible could someone point me to an > example. > > thanks.See http:/www.rawsoft.org it is an example of netlink socket use without tc.
On Mon, 2005-28-03 at 14:17 -0800, js si wrote:> i wanted to get the qdisc stats without using tc. is > this possible by just using rtnetlink sockets > directly? if possible could someone point me to an > example.It''s certainly possible. However, there is very little good documentation on the Netlink message formats available. The tc and kernel source are your best bet. Alternatively, you could use LQL (http://www.coverfire.com/lql/). -- OpenPGP key: http://www.coverfire.com/files/pubkey.txt Key fingerprint: FB0A 2D8A A1E9 11B6 6CA3 0C53 742A 9EA8 891C BD98