libnl
3.2.3
|
00001 /* 00002 * netlink/cli/cls.h CLI Classifier Helpers 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation version 2.1 00007 * of the License. 00008 * 00009 * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> 00010 */ 00011 00012 #ifndef __NETLINK_CLI_CLS_H_ 00013 #define __NETLINK_CLI_CLS_H_ 00014 00015 #include <netlink/route/classifier.h> 00016 #include <netlink/cli/tc.h> 00017 00018 extern struct rtnl_cls * nl_cli_cls_alloc(void); 00019 extern struct nl_cache * nl_cli_cls_alloc_cache(struct nl_sock *, 00020 int, uint32_t); 00021 extern void nl_cli_cls_parse_proto(struct rtnl_cls *, char *); 00022 extern struct rtnl_ematch_tree *nl_cli_cls_parse_ematch(struct rtnl_cls *, char *); 00023 00024 #endif