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

Data Structures

struct  rtnl_basic
 

Attribute Modifications

int rtnl_basic_set_classid (struct rtnl_cls *cls, uint32_t classid)
 
uint32_t rtnl_basic_get_classid (struct rtnl_cls *cls)
 
int rtnl_basic_set_ematch (struct rtnl_cls *cls, struct rtnl_ematch_tree *tree)
 
struct rtnl_ematch_treertnl_basic_get_ematch (struct rtnl_cls *cls)
 

Detailed Description

Introduction
The basic classifier is the simplest form of a classifier. It does not have any special classification capabilities, instead it can be used to classify exclusively based on extended matches or to create a "catch-all" filter.

Function Documentation

uint32_t rtnl_basic_get_classid ( struct rtnl_cls cls)

References rtnl_basic::b_classid, and rtnl_cls_data().

Here is the call graph for this function:

struct rtnl_ematch_tree* rtnl_basic_get_ematch ( struct rtnl_cls cls)

References rtnl_basic::b_ematch, and rtnl_cls_data().

Here is the call graph for this function:

int rtnl_basic_set_classid ( struct rtnl_cls cls,
uint32_t  classid 
)

References rtnl_basic::b_classid, rtnl_basic::b_mask, and rtnl_cls_data().

Here is the call graph for this function:

int rtnl_basic_set_ematch ( struct rtnl_cls cls,
struct rtnl_ematch_tree tree 
)

References rtnl_basic::b_ematch, rtnl_basic::b_mask, rtnl_cls_data(), and rtnl_ematch_tree_free().

Here is the call graph for this function: