Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
tc_mirred.h File Reference
#include <linux/types.h>
#include <linux/pkt_cls.h>

Go to the source code of this file.

Data Structures

struct  tc_mirred
 

Macros

#define TCA_ACT_MIRRED   8
 
#define TCA_EGRESS_REDIR   1 /* packet redirect to EGRESS*/
 
#define TCA_EGRESS_MIRROR   2 /* mirror packet to EGRESS */
 
#define TCA_INGRESS_REDIR   3 /* packet redirect to INGRESS*/
 
#define TCA_INGRESS_MIRROR   4 /* mirror packet to INGRESS */
 
#define TCA_MIRRED_MAX   (__TCA_MIRRED_MAX - 1)
 

Enumerations

enum  { TCA_MIRRED_UNSPEC, TCA_MIRRED_TM, TCA_MIRRED_PARMS, __TCA_MIRRED_MAX }
 

Macro Definition Documentation

#define TCA_ACT_MIRRED   8

Definition at line 7 of file tc_mirred.h.

#define TCA_EGRESS_MIRROR   2 /* mirror packet to EGRESS */

Definition at line 9 of file tc_mirred.h.

#define TCA_EGRESS_REDIR   1 /* packet redirect to EGRESS*/

Definition at line 8 of file tc_mirred.h.

#define TCA_INGRESS_MIRROR   4 /* mirror packet to INGRESS */

Definition at line 11 of file tc_mirred.h.

#define TCA_INGRESS_REDIR   3 /* packet redirect to INGRESS*/

Definition at line 10 of file tc_mirred.h.

#define TCA_MIRRED_MAX   (__TCA_MIRRED_MAX - 1)

Definition at line 25 of file tc_mirred.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
TCA_MIRRED_UNSPEC 
TCA_MIRRED_TM 
TCA_MIRRED_PARMS 
__TCA_MIRRED_MAX 

Definition at line 19 of file tc_mirred.h.