diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-10-19 11:06:42 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-10-19 11:06:42 (GMT) |
commit | c0cd587dfc46ca8e8e5f9da51e878e0678950f23 (patch) | |
tree | 10aaa6c61ac3416f2fd579c3d05c9210c7d4ef83 /src/Makefile.am | |
parent | 3229b32e39363c439f0d042b561417e7b48aa786 (diff) | |
download | libnl-c0cd587dfc46ca8e8e5f9da51e878e0678950f23.zip libnl-c0cd587dfc46ca8e8e5f9da51e878e0678950f23.tar.gz libnl-c0cd587dfc46ca8e8e5f9da51e878e0678950f23.tar.bz2 |
nl-qdisc-add tool
Adds a cli based tool to add/update/replace qdiscs. This tool requires
each qdisc to be supported via a dynamic loadable module in
pkglibdir/cli/qdisc/$name.so.
So far HTB and blackhole have been implemented.
Syntax:
nl-qdisc-add --dev eth2 --parent root --id 1: htb --r2q=5
nl-qdisc-add --update-only --dev eth2 --id 1: htb --r2q=10
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index dda32a7..5144bb4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,6 +5,9 @@ SUBDIRS = lib AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE AM_LDFLAGS = -L${top_builddir}/lib -L${top_builddir}/src/lib -lnl-cli +sbin_PROGRAMS = \ + nl-qdisc-add + noinst_PROGRAMS = \ genl-ctrl-list \ nf-ct-list nf-log nf-queue nf-monitor \ @@ -66,6 +69,8 @@ nl_neigh_list_LDADD = -lnl-route nl_neightbl_list_SOURCES = nl-neightbl-list.c nl_neightbl_list_LDADD = -lnl-route +nl_qdisc_add_SOURCES = nl-qdisc-add.c +nl_qdisc_add_LDADD = -lnl-route nl_qdisc_delete_SOURCES = nl-qdisc-delete.c nl_qdisc_delete_LDADD = -lnl-route nl_qdisc_list_SOURCES = nl-qdisc-list.c |