From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Charvat Date: Thu, 11 Dec 2003 15:14:00 +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="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org When I started programming, I had same question. Where is the documentation... man pages are poor - incomplete try: http://qos.ittc.ku.edu/netlink/html/ That paper talks about rtnetlink messages in order to modify routing table, but creating of qdiscs, filters and classes is similar. Ale my knowledge is from reading tc utility source :-( Michal Charvat Prokon R.B.S. Louny v.o.s. On Thu, 11 Dec 2003, Lawrence MacIntyre wrote: > raj: > > This is one of the most sparsely documented parts of linux. The only > places I know of are: > > man 3 netlink > man 7 netlink > man 3 rtnetlink > man 7 rtnetlink > the kernel source > in man netlink, you find a reference to > ftp://ftp.inr.ac.ru/ip=E2=80=90routing/iproute2* for libnetlink > > The code is clearly designed to be as efficient as possible, and much of > the protocol involves context, which makes it quite difficult to figure > out. OTOH, you can do things with linux/netlink which would require > kernel mods with any other operating system, so I'm just glad it's > there. > > On Thu, 2003-12-11 at 07:23, 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 ho= w it works? > > > > raj > > > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > -- > Lawrence MacIntyre 865.574.8696 lpz@ornl.gov > Oak Ridge National Laboratory > High Performance Information Infrastructure Technology Group > > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/