libnl 3.7.0

Attribute Modifications

int rtnl_mirred_set_action (struct rtnl_act *act, int action)
 
int rtnl_mirred_get_action (struct rtnl_act *act)
 
int rtnl_mirred_set_ifindex (struct rtnl_act *act, uint32_t ifindex)
 
uint32_t rtnl_mirred_get_ifindex (struct rtnl_act *act)
 
int rtnl_mirred_set_policy (struct rtnl_act *act, int policy)
 
int rtnl_mirred_get_policy (struct rtnl_act *act)
 

Detailed Description

Function Documentation

◆ rtnl_mirred_set_action()

int rtnl_mirred_set_action ( struct rtnl_act *  act,
int  action 
)

Definition at line 117 of file mirred.c.

◆ rtnl_mirred_get_action()

int rtnl_mirred_get_action ( struct rtnl_act *  act)

Definition at line 140 of file mirred.c.

◆ rtnl_mirred_set_ifindex()

int rtnl_mirred_set_ifindex ( struct rtnl_act *  act,
uint32_t  ifindex 
)

Definition at line 149 of file mirred.c.

◆ rtnl_mirred_get_ifindex()

uint32_t rtnl_mirred_get_ifindex ( struct rtnl_act *  act)

Definition at line 160 of file mirred.c.

◆ rtnl_mirred_set_policy()

int rtnl_mirred_set_policy ( struct rtnl_act *  act,
int  policy 
)

Definition at line 169 of file mirred.c.

◆ rtnl_mirred_get_policy()

int rtnl_mirred_get_policy ( struct rtnl_act *  act)

Definition at line 181 of file mirred.c.