#include "../utils.h"
#include <netlink/route/classifier-modules.h>
#include <netlink/route/cls/ematch.h>
Data Structures | |
struct | cls_module |
struct | ematch_module |
Functions | |
struct cls_module * | lookup_cls_mod (struct rtnl_cls_ops *) |
void | register_cls_module (struct cls_module *) |
void | unregister_cls_module (struct cls_module *) |
struct ematch_module * | lookup_ematch_mod (struct rtnl_ematch_ops *) |
void | register_ematch_module (struct ematch_module *) |
void | unregister_ematch_module (struct ematch_module *) |
struct rtnl_cls * | nlt_alloc_cls (void) |
void | parse_dev (struct rtnl_cls *, struct nl_cache *, char *) |
void | parse_prio (struct rtnl_cls *, char *) |
void | parse_parent (struct rtnl_cls *, char *) |
void | parse_handle (struct rtnl_cls *, char *) |
void | parse_proto (struct rtnl_cls *, char *) |
int | parse_ematch_syntax (const char *, struct rtnl_ematch_tree **) |
struct cls_module* lookup_cls_mod | ( | struct rtnl_cls_ops * | ) |
References cls_module::list, nl_list_for_each_entry, NULL, and cls_module::ops.
Referenced by main(), and register_cls_module().
struct ematch_module* lookup_ematch_mod | ( | struct rtnl_ematch_ops * | ) |
References rtnl_cls_alloc().
Referenced by main().
References rtnl_cls_set_ifindex(), and rtnl_link_name2i().
Referenced by main().
int parse_ematch_syntax | ( | const char * | , |
struct rtnl_ematch_tree ** | |||
) |
References nl_geterror(), rtnl_cls_set_handle(), and rtnl_tc_str2handle().
Referenced by main().
References nl_geterror(), rtnl_cls_set_parent(), and rtnl_tc_str2handle().
Referenced by main().
References rtnl_cls_set_prio().
Referenced by main().
References nl_geterror(), nl_str2ether_proto(), and rtnl_cls_set_protocol().
Referenced by main().
void register_cls_module | ( | struct cls_module * | ) |
References __rtnl_cls_lookup_ops(), cls_module::list, lookup_cls_mod(), cls_module::name, NULL, and cls_module::ops.
void register_ematch_module | ( | struct ematch_module * | ) |
void unregister_cls_module | ( | struct cls_module * | ) |
References cls_module::list.
void unregister_ematch_module | ( | struct ematch_module * | ) |