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

Go to the source code of this file.

Data Structures

struct  route4_fastmap
 
struct  route4_head
 
struct  route4_bucket
 
struct  route4_filter
 

Macros

#define ROUTE4_FAILURE   ((struct route4_filter *)(-1L))
 
#define ROUTE4_APPLY_RESULT()
 

Macro Definition Documentation

#define ROUTE4_APPLY_RESULT ( )
Value:
{ \
*res = f->res; \
if (tcf_exts_is_available(&f->exts)) { \
int r = tcf_exts_exec(skb, &f->exts, res); \
if (r < 0) { \
dont_cache = 1; \
continue; \
} \
return r; \
} else if (!dont_cache) \
route4_set_fastmap(head, id, iif, f); \
return 0; \
}

Definition at line 113 of file cls_route.c.

#define ROUTE4_FAILURE   ((struct route4_filter *)(-1L))

Definition at line 60 of file cls_route.c.