diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-10-20 15:15:58 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-10-20 15:15:58 (GMT) |
commit | 8699ba85ccfa6545806433de3daeee2f98b9d350 (patch) | |
tree | 911125ed2fc7e4a723ddae36f4e9fda07e394df6 /include | |
parent | cefe7db730cae80133c7811cf34b83985857ab25 (diff) | |
download | libnl-8699ba85ccfa6545806433de3daeee2f98b9d350.zip libnl-8699ba85ccfa6545806433de3daeee2f98b9d350.tar.gz libnl-8699ba85ccfa6545806433de3daeee2f98b9d350.tar.bz2 |
nl-class-delete tool
Tool based on nl-qdisc-delete to delete traffic classes.
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/cli/class.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/netlink/cli/class.h b/include/netlink/cli/class.h index 9c17761..e73cd46 100644 --- a/include/netlink/cli/class.h +++ b/include/netlink/cli/class.h @@ -15,11 +15,8 @@ #include <netlink/route/class.h> #include <netlink/route/class-modules.h> -#define nl_cli_class_alloc_cache(sk) \ - nl_cli_alloc_cache((sk), "traffic classes", \ - rtnl_class_alloc_cache) - extern struct rtnl_class *nl_cli_class_alloc(void); +extern struct nl_cache *nl_cli_class_alloc_cache(struct nl_sock *, int); extern void nl_cli_class_parse_dev(struct rtnl_class *, struct nl_cache *, char *); extern void nl_cli_class_parse_parent(struct rtnl_class *, char *); |