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

Go to the source code of this file.

Data Structures

struct  tc_gact
 
struct  tc_gact_p
 

Macros

#define TCA_ACT_GACT   5
 
#define PGACT_NONE   0
 
#define PGACT_NETRAND   1
 
#define PGACT_DETERM   2
 
#define MAX_RAND   (PGACT_DETERM + 1 )
 
#define TCA_GACT_MAX   (__TCA_GACT_MAX - 1)
 

Enumerations

enum  {
  TCA_GACT_UNSPEC, TCA_GACT_TM, TCA_GACT_PARMS, TCA_GACT_PROB,
  __TCA_GACT_MAX
}
 

Macro Definition Documentation

#define MAX_RAND   (PGACT_DETERM + 1 )

Definition at line 17 of file tc_gact.h.

#define PGACT_DETERM   2

Definition at line 16 of file tc_gact.h.

#define PGACT_NETRAND   1

Definition at line 15 of file tc_gact.h.

#define PGACT_NONE   0

Definition at line 14 of file tc_gact.h.

#define TCA_ACT_GACT   5

Definition at line 7 of file tc_gact.h.

#define TCA_GACT_MAX   (__TCA_GACT_MAX - 1)

Definition at line 30 of file tc_gact.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
TCA_GACT_UNSPEC 
TCA_GACT_TM 
TCA_GACT_PARMS 
TCA_GACT_PROB 
__TCA_GACT_MAX 

Definition at line 23 of file tc_gact.h.