Any QoS API for programing under linux?
I want to make use of QoS ability provided by Linux in program. But, I found no document on it.
Would you please tell me where to get some document on it?
thanks
James Shen
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Quoted 4 lines · shen jing
I want to make use of QoS ability provided by Linux in program. But, I found no document on it.
Would you please tell me where to get some document on it?
Take a look at the rtnetlink and netlink manual pages, as well as the source code of the "tc" command line utility. Together they should give a reasonable impression of the API.
cheers,
Remco.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
See the following files in a current copy of the Linux kernel sources:
linux/include/{linux,net}/pkt_{sched,cls}.h
That's about as much of an API as there is.
If you want more information on interfacing to this part of the kernel then you need to do a close examination of the sources for Alexey Kuznetsov's iproute2 tools, particularly the `tc' command. Look for iproute2-2.2.4-now-ss001007.tar.gz which is the latest release of these tools.
WARNING: The internals of the QoS implementation in the Linux kernel are not meant for mere humans to read. :)
'james
Signature · 9 lines
James A. Crippen <[email protected]> ,-./-. Anchorage, Alaska, Lambda Unlimited: Recursion 'R' Us | |/ | USA, 61.2069 N, 149.766 W, Y = \f.(\x.f(xx)) (\x.f(xx)) | |\ | Earth, Sol System, Y(F) = F(Y(F)) \_,-_/ Milky Way. _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/