libnl 3.8.0

Data Structures

struct  rtnl_basic
 

Attribute Modifications

void rtnl_basic_set_target (struct rtnl_cls *cls, uint32_t target)
 
uint32_t rtnl_basic_get_target (struct rtnl_cls *cls)
 
void rtnl_basic_set_ematch (struct rtnl_cls *cls, struct rtnl_ematch_tree *tree)
 
struct rtnl_ematch_tree * rtnl_basic_get_ematch (struct rtnl_cls *cls)
 
int rtnl_basic_add_action (struct rtnl_cls *cls, struct rtnl_act *act)
 
struct rtnl_actrtnl_basic_get_action (struct rtnl_cls *cls)
 
int rtnl_basic_del_action (struct rtnl_cls *cls, struct rtnl_act *act)
 

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

◆ rtnl_basic_set_target()

void rtnl_basic_set_target ( struct rtnl_cls *  cls,
uint32_t  target 
)

Definition at line 166 of file basic.c.

◆ rtnl_basic_get_target()

uint32_t rtnl_basic_get_target ( struct rtnl_cls *  cls)

Definition at line 177 of file basic.c.

◆ rtnl_basic_set_ematch()

void rtnl_basic_set_ematch ( struct rtnl_cls *  cls,
struct rtnl_ematch_tree *  tree 
)

Definition at line 187 of file basic.c.

◆ rtnl_basic_get_ematch()

struct rtnl_ematch_tree * rtnl_basic_get_ematch ( struct rtnl_cls *  cls)

Definition at line 205 of file basic.c.

◆ rtnl_basic_add_action()

int rtnl_basic_add_action ( struct rtnl_cls *  cls,
struct rtnl_act act 
)

Definition at line 215 of file basic.c.

◆ rtnl_basic_get_action()

struct rtnl_act * rtnl_basic_get_action ( struct rtnl_cls *  cls)

Definition at line 235 of file basic.c.

◆ rtnl_basic_del_action()

int rtnl_basic_del_action ( struct rtnl_cls *  cls,
struct rtnl_act act 
)

Definition at line 248 of file basic.c.