Modules | |
Control Groups Classifier | |
Firewall Classifier | |
Universal 32-bit Classifier | |
Data Structures | |
struct | rtnl_cls_ops |
Classifier operations. More... | |
Classifier Module API | |
int | rtnl_cls_register (struct rtnl_cls_ops *cops) |
Register a classifier module. More... | |
int | rtnl_cls_unregister (struct rtnl_cls_ops *cops) |
Unregister a classifier module. More... | |
struct rtnl_cls_ops * | __rtnl_cls_lookup_ops (const char *kind) |
struct rtnl_cls_ops * | rtnl_cls_lookup_ops (struct rtnl_cls *cls) |
Lookup classifier operations for a classifier object. More... | |
struct rtnl_cls_ops* __rtnl_cls_lookup_ops | ( | const char * | kind | ) |
References rtnl_cls_ops::co_kind, rtnl_cls_ops::co_next, and NULL.
Referenced by register_cls_module(), rtnl_cls_data(), and rtnl_cls_lookup_ops().
struct rtnl_cls_ops* rtnl_cls_lookup_ops | ( | struct rtnl_cls * | cls | ) |
Lookup classifier operations for a classifier object.
References __rtnl_cls_lookup_ops(), and rtnl_cls::c_ops.
int rtnl_cls_register | ( | struct rtnl_cls_ops * | cops | ) |
Register a classifier module.
References BUG, rtnl_cls_ops::co_kind, rtnl_cls_ops::co_next, NLE_EXIST, and NULL.
int rtnl_cls_unregister | ( | struct rtnl_cls_ops * | cops | ) |
Unregister a classifier module.
References rtnl_cls_ops::co_kind, rtnl_cls_ops::co_next, NLE_OBJ_NOTFOUND, and NULL.