Skip to contentSkip to conversation

TC interface

DISCUSSION Anton 2 participants 4 messages Feb 25, 2008 – Feb 27, 2008 netfilter

lore
Share & tools
lore

Anton

author
#0 lore raw

Hello!

I'm trying to figure out how to interface with the kernel's qos structires. I've found libiptc HOWTO - but it's very outdated and provides only IPTABLES manipulation, not traffic scheduler. Could anyone please advice, if there is a C library, which provides an abstraction for easier manipulation with kernel internals to not use "tc" and "iptables"?

Best regards to everyone,
Anton.

author
#1 lore raw

Looks like everyone is too proud to answer a simple newbee question...

Quoted 17 lines · Anton

Hello!

I'm trying to figure out how to interface with the kernel's qos structires. I've found libiptc HOWTO - but it's very outdated and provides only IPTABLES manipulation, not traffic scheduler. Could anyone please advice, if there is a C library, which provides an abstraction for easier manipulation with kernel internals to not use "tc" and "iptables"?

Best regards to everyone,
Anton.
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 2 lines · Anton

Looks like everyone is too proud to answer a simple newbee question...

More likely busy...

Quoted 7 lines
Quoted 7 lines

I'm trying to figure out how to interface with the kernel's qos structires. I've found libiptc HOWTO - but it's very outdated and provides only IPTABLES manipulation, not traffic scheduler. Could anyone please advice, if there is a C library, which provides an abstraction for easier manipulation with kernel internals to not use "tc" and "iptables"?

This should cover tc:
http://people.suug.ch/~tgr/libnl/

There isn't a C api for iptables other than libiptc, and it isn't meant to be used outside of iptables anyway.

Also google showed me http://www.coverfire.com/lql/
but I know nothing about it.

author
#3 lore raw

Thanks for answer Philip! I googled half a day before asking a question in the list and found a few thigs which deals with netlink messaging but all outdated, and I thought that there might be a library to deal with this stuff and make things a little easier.
Thanks again!
Anton.

Quoted 22 lines · Philip Craig
Quoted 2 lines · Anton

Looks like everyone is too proud to answer a simple newbee question...

More likely busy...

Quoted 7 lines
Quoted 7 lines

I'm trying to figure out how to interface with the kernel's qos structires. I've found libiptc HOWTO - but it's very outdated and provides only IPTABLES manipulation, not traffic scheduler. Could anyone please advice, if there is a C library, which provides an abstraction for easier manipulation with kernel internals to not use "tc" and "iptables"?

This should cover tc:
http://people.suug.ch/~tgr/libnl/

There isn't a C api for iptables other than libiptc, and it isn't meant to be used outside of iptables anyway.

Also google showed me http://www.coverfire.com/lql/
but I know nothing about it.