From: Jody Belka Date: Thu, 19 Feb 2004 00:39:59 +0000 Subject: Re: [LARTC] How about libtc Message-Id: <20040219003959.GA25900@faith.gentoo.org> 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 On Tue, Feb 17, 2004 at 09:14PM, Damjan wrote: > > 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... On Thu, Feb 19, 2004 at 01:35:45AM +0200, Roy wrote: > 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 There certainly isn't a library for tc unfortunately, but there most certainly is a library for iptables. It's called libiptc (see http://www.tldp.org/HOWTO/Querying-libiptc-HOWTO/whatis.html), and there's even a nice perl module that interfaces with it (http://search.cpan.org/~dpates/IPTables-IPv4) -- Jody Belka knew (at) pimb (dot) org _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/