I donk know much about userspace linux programing.
so cant help much on that
but  unfortunalely I think there is no libraries for tc or iptables
management

probably you can modify tc into library easily, or implement file parsing
like iptables-restore

also you can just use c modules from tc and simply include them in your
program
as I know each qudisc have own tc c file.
this is easy on c proogram but not much help for perl or others.


----- Original Message ----- 
From: "Damjan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 9:14 PM
Subject: [LARTC] How about libtc


> I like to make a program that will manipulate the TC Linux
> internals,
> like the tc tool does.
>
> But I don't want to execute the tc tool itself since that will have
> overhead and I'd have to parse the output.
>
> So the question is: is there some library to help me communicate eith
> the TC subsystem... or if not maybe someone could help, provide some
> intro to how the '"'tc'"' tools works, what are the important functions
> etc...
>
> Thank you.
>
>
> -- 
> Damjan Georgievski
> jabberID: [EMAIL PROTECTED]
> _______________________________________________
> LARTC mailing list / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to