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
--
James A. Crippen <james@unlambda.com> ,-./-. 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.