Hey all,
I''m looking for more detailed info on the netlink api.
I''ve read
Andi Kleen''s man pages (which describe themselves as lacking and
incomplete), rfc3549 -- Linux Netlink as an IP Services Protocol (which
was a nice general overview, but lacking in implementation detail), both
the iproute2/ip/tc source and the kernel source (which have no usable
documentation/comments), etc.
Andi''s man pages and rfc3549 were a great help in getting into the
basics of the netlink api, but I can''t seem to find anything more
specific about the RTA TLV''s, order of RTA''s, which
RTA''s are optional,
which are required, etc.
I''m thinking about writing a C++ library for netlink sockets, but I
don''t necessarily want to spend the next 6 months wading through kernel
source to figure out that I had a single param wrong somewhere. I''d
also be happy to compile a howto/tutorial/spec for others to use, if I
could just get the info. Would anybody be interested in this?
I''m more than happy to RTFM, but I need to know which fine manual
to
read. Please, any pointer would be greatly appreciated.
Morgan
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Morgan, [ good question snipped ] : I''m more than happy to RTFM, but I need to know which fine manual to : read. Please, any pointer would be greatly appreciated. Perhaps you have not found this yet? http://qos.ittc.ukans.edu/netlink/html/ I''m not sure that it answers your questions, but if you haven''t run across this document, it should help some. -Martin -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Martin A. Brown wrote:>Perhaps you have not found this yet? > > http://qos.ittc.ukans.edu/netlink/html/ > >I''m not sure that it answers your questions, but if you haven''t run >across this document, it should help some. > >-Martin > >Actually I had found that one, but it is a general overview, similar to rfc3549. They have a touch different information, which complements the rfc, but neither are complete nor definitive. This only makes me more determined to produce a netlink API doc, bringing all of the snips of info I can find together into one place. The rfc would probably be a good place to start a document like that, just fleshing out the detailed information it lacks. I wonder what kind of copyright (etc.) issues that would entail. The rfc is credited to four different authors, from four different companies. Probably best to start from scratch. Morgan _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/