Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
cls_tcindex.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <net/act_api.h>
#include <net/netlink.h>
#include <net/pkt_cls.h>

Go to the source code of this file.

Data Structures

struct  tcindex_filter_result
 
struct  tcindex_filter
 
struct  tcindex_data
 

Macros

#define PERFECT_HASH_THRESHOLD   64 /* use perfect hash if not bigger */
 
#define DEFAULT_HASH_SIZE   64 /* optimized for diffserv */
 
#define PRIV(tp)   ((struct tcindex_data *) (tp)->root)
 

Macro Definition Documentation

#define DEFAULT_HASH_SIZE   64 /* optimized for diffserv */

Definition at line 24 of file cls_tcindex.c.

#define PERFECT_HASH_THRESHOLD   64 /* use perfect hash if not bigger */

Definition at line 23 of file cls_tcindex.c.

#define PRIV (   tp)    ((struct tcindex_data *) (tp)->root)

Definition at line 27 of file cls_tcindex.c.