libnl: Mirror and Redirect

libnl 3.12.0

Mirror and Redirect
Routing Library (libnl-route) » Traffic Control » Action

## Data Structures
struct | rtnl_mirred

## 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 122 of file mirred.c.

## ◆ rtnl_mirred_get_action()

int rtnl_mirred_get_action | ( | struct rtnl_act * | act | ) |

Definition at line 145 of file mirred.c.

## ◆ rtnl_mirred_set_ifindex()

int rtnl_mirred_set_ifindex | ( | struct rtnl_act * | act,
|  | uint32_t | ifindex )

Definition at line 154 of file mirred.c.

## ◆ rtnl_mirred_get_ifindex()

uint32_t rtnl_mirred_get_ifindex | ( | struct rtnl_act * | act | ) |

Definition at line 165 of file mirred.c.

## ◆ rtnl_mirred_set_policy()

int rtnl_mirred_set_policy | ( | struct rtnl_act * | act,
|  | int | policy )

Definition at line 174 of file mirred.c.

## ◆ rtnl_mirred_get_policy()

int rtnl_mirred_get_policy | ( | struct rtnl_act * | act | ) |

Definition at line 186 of file mirred.c.