From: "Roy" Date: Wed, 18 Feb 2004 23:35:45 +0000 Subject: Re: [LARTC] How about libtc Message-Id: <003501c3f677$ee2e51e0$030aa8c0@t> List-Id: References: <20040217191434.GA25903@legolas.on.net.mk> In-Reply-To: <20040217191434.GA25903@legolas.on.net.mk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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" To: 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: damjan@bagra.net.mk > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/