libnl/lib
Thomas Graf 4267d8f336 classid auto generation if provided tc name does not exist
Manually editing etc/libnl/classid before adding tc objects is a pain.
This patch adds code to attempt auto generating a unique tc id which
will then be assigned to the provided name and added to the classid
file.

This will make the following commands work with prior definitions of
the names "top" and "test"
	sudo sbin/nl-qdisc-add --dev eth0 --parent root --id top htb
	sudo sbin/nl-class-add --dev eth0 --parent top --id test htb --rate 100mbit

It will generate the following ids automatically:
4001:			top
4001:1			test
2010-11-01 08:17:40 +01:00
..
cli cgroup classifier improvements 2010-10-29 00:51:11 +02:00
fib_lookup restructure module documentation order 2008-12-10 18:12:30 +01:00
genl Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
netfilter new function nfnl_queue_msg_send_verdict_payload() 2010-03-10 16:02:01 +01:00
route classid auto generation if provided tc name does not exist 2010-11-01 08:17:40 +01:00
.gitignore Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
addr.c restructure module documentation order 2008-12-10 18:12:30 +01:00
attr.c attr: Add padding if nested data does not end at an alignment boundry 2010-10-29 18:40:48 +02:00
cache.c add user data to change_func_t for caches 2010-10-13 13:41:57 +02:00
cache_mngr.c add user data to change_func_t for caches 2010-10-13 13:41:57 +02:00
cache_mngt.c restructure module documentation order 2008-12-10 18:12:30 +01:00
data.c restructure module documentation order 2008-12-10 18:12:30 +01:00
doc.c Documentation update 2008-12-03 19:58:41 +01:00
error.c Packet location updates 2010-10-27 01:21:50 +02:00
handlers.c restructure module documentation order 2008-12-10 18:12:30 +01:00
Makefile.am Support for meta match 2010-10-31 23:13:01 +01:00
msg.c Improved debugging messages while constructing messages/attributes 2010-10-29 18:34:27 +02:00
nl.c Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
object.c Fix rule attribute comparison 2010-04-19 12:43:18 +02:00
socket.c Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
utils.c Updated arp and ethernet codes 2010-10-29 01:48:13 +02:00