Modules |
| Simple packet data comparison |
Module Registration |
int | rtnl_ematch_register (struct rtnl_ematch_ops *ops) |
| Register ematch module.
|
int | rtnl_ematch_unregister (struct rtnl_ematch_ops *ops) |
| Unregister ematch module.
|
struct rtnl_ematch_ops * | rtnl_ematch_lookup_ops (int kind) |
| Lookup ematch module by kind.
|
struct rtnl_ematch_ops * | rtnl_ematch_lookup_ops_name (const char *name) |
| Lookup ematch module by name.
|
Match |
struct rtnl_ematch * | rtnl_ematch_alloc (struct rtnl_ematch_ops *ops) |
void | rtnl_ematch_add_child (struct rtnl_ematch *parent, struct rtnl_ematch *child) |
| Add ematch to the end of the parent's list of children.
|
void | rtnl_ematch_unlink (struct rtnl_ematch *ematch) |
| Remove ematch from the list it is linked to.
|
void | rtnl_ematch_free (struct rtnl_ematch *ematch) |
void | rtnl_ematch_set_flags (struct rtnl_ematch *ematch, uint16_t flags) |
void | rtnl_ematch_unset_flags (struct rtnl_ematch *ematch, uint16_t flags) |
uint16_t | rtnl_ematch_get_flags (struct rtnl_ematch *ematch) |
void * | rtnl_ematch_data (struct rtnl_ematch *ematch) |
Tree |
struct rtnl_ematch_tree * | rtnl_ematch_tree_alloc (uint16_t progid) |
void | rtnl_ematch_tree_free (struct rtnl_ematch_tree *tree) |
void | rtnl_ematch_tree_add_tail (struct rtnl_ematch_tree *tree, struct rtnl_ematch *ematch) |
int | rtnl_ematch_parse (struct nlattr *attr, struct rtnl_ematch_tree **result) |
| Parse ematch netlink attributes.
|
void | rtnl_ematch_tree_dump (struct rtnl_ematch_tree *tree, struct nl_dump_params *p) |