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

Modules

 Class Based Queueing (CBQ)
 
 Differentiated Services Marker (DSMARK)
 
 Hierachical Token Bucket (HTB)
 

Data Structures

struct  rtnl_class_ops
 Class operations. More...
 

Module API

int rtnl_class_register (struct rtnl_class_ops *cops)
 Register a class module. More...
 
int rtnl_class_unregister (struct rtnl_class_ops *cops)
 Unregister a class module. More...
 
struct rtnl_class_ops__rtnl_class_lookup_ops (const char *kind)
 
struct rtnl_class_opsrtnl_class_lookup_ops (struct rtnl_class *class)
 Lookup class operations for a class object. More...
 

Detailed Description

Function Documentation

struct rtnl_class_ops* __rtnl_class_lookup_ops ( const char *  kind)

References rtnl_class_ops::co_kind, rtnl_class_ops::co_next, and NULL.

Referenced by rtnl_class_lookup_ops(), and rtnl_class_set_kind().

Here is the caller graph for this function:

struct rtnl_class_ops* rtnl_class_lookup_ops ( struct rtnl_class class)

Lookup class operations for a class object.

  • class Class object.
Returns
Class operations or NULL if not found.

References __rtnl_class_lookup_ops().

Here is the call graph for this function:

int rtnl_class_register ( struct rtnl_class_ops cops)

Register a class module.

  • cops class module operations

References BUG, rtnl_class_ops::co_kind, rtnl_class_ops::co_next, NLE_EXIST, and NULL.

int rtnl_class_unregister ( struct rtnl_class_ops cops)

Unregister a class module.

  • cops class module operations

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