netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Collaboration diagram for Classifier Modules:

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_opsrtnl_cls_lookup_ops (struct rtnl_cls *cls)
 Lookup classifier operations for a classifier object. More...
 

Detailed Description

Function Documentation

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().

Here is the caller graph for this function:

struct rtnl_cls_ops* rtnl_cls_lookup_ops ( struct rtnl_cls cls)

Lookup classifier operations for a classifier object.

  • cls Classifier object.
Returns
Classifier operations or NULL if not found.

References __rtnl_cls_lookup_ops(), and rtnl_cls::c_ops.

Here is the call graph for this function:

int rtnl_cls_register ( struct rtnl_cls_ops cops)

Register a classifier module.

  • cops classifier module operations

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.

  • cops classifier module operations

References rtnl_cls_ops::co_kind, rtnl_cls_ops::co_next, NLE_OBJ_NOTFOUND, and NULL.