From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Thu, 11 Dec 2003 14:39:22 +0000 Subject: Re: [LARTC] Accessing TC objects via netlink interface Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org rajkumars@asianetindia.com wrote: > Hi, > > While going through the README of Michal's SNMP extension, he collects stats using netlink interface. Is their any howto or other docs to learn how it works? > > raj > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ The most useful places I can think of are: - kernel: include/linux/rtnetlink.h, include/linux/pkt_sched.h - kernel: net/core/sched_api.c, net/core/rtnetlink.c - iproute2 source, look especially at rtnl_wilddump_request, rtnl_dump_filter and rtnl_talk - netlink man pages - Jamal Hadi's netlink over IP RFC draft Best regards, Patrick _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/