All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Any QoS API for programing under linux?
@ 2001-05-17 11:02 shen jing
  2001-05-17 15:45 ` Remco van de Meent
  2001-05-17 17:41 ` James A. Crippen
  0 siblings, 2 replies; 3+ messages in thread
From: shen jing @ 2001-05-17 11:02 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Any QoS API for programing under linux?
  2001-05-17 11:02 [LARTC] Any QoS API for programing under linux? shen jing
@ 2001-05-17 15:45 ` Remco van de Meent
  2001-05-17 17:41 ` James A. Crippen
  1 sibling, 0 replies; 3+ messages in thread
From: Remco van de Meent @ 2001-05-17 15:45 UTC (permalink / raw)
  To: lartc

shen jing wrote:
> 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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Any QoS API for programing under linux?
  2001-05-17 11:02 [LARTC] Any QoS API for programing under linux? shen jing
  2001-05-17 15:45 ` Remco van de Meent
@ 2001-05-17 17:41 ` James A. Crippen
  1 sibling, 0 replies; 3+ messages in thread
From: James A. Crippen @ 2001-05-17 17:41 UTC (permalink / raw)
  To: lartc

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.


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-17 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-17 11:02 [LARTC] Any QoS API for programing under linux? shen jing
2001-05-17 15:45 ` Remco van de Meent
2001-05-17 17:41 ` James A. Crippen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.