Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mroute6.h File Reference
#include <linux/pim.h>
#include <linux/skbuff.h>
#include <net/net_namespace.h>
#include <uapi/linux/mroute6.h>

Go to the source code of this file.

Data Structures

struct  mif_device
 
struct  mfc6_cache
 

Macros

#define VIFF_STATIC   0x8000
 
#define MFC_STATIC   1
 
#define MFC_NOTIFY   2
 
#define MFC6_LINES   64
 
#define MFC6_HASH(a, g)
 
#define MFC_ASSERT_THRESH   (3*HZ) /* Maximal freq. of asserts */
 

Functions

int ip6mr_get_route (struct net *net, struct sk_buff *skb, struct rtmsg *rtm, int nowait)
 

Macro Definition Documentation

#define MFC6_HASH (   a,
  g 
)
Value:
(((__force u32)(a)->s6_addr32[0] ^ \
(__force u32)(a)->s6_addr32[1] ^ \
(__force u32)(a)->s6_addr32[2] ^ \
(__force u32)(a)->s6_addr32[3] ^ \
(__force u32)(g)->s6_addr32[0] ^ \
(__force u32)(g)->s6_addr32[1] ^ \
(__force u32)(g)->s6_addr32[2] ^ \
(__force u32)(g)->s6_addr32[3]) % MFC6_LINES)

Definition at line 105 of file mroute6.h.

#define MFC6_LINES   64

Definition at line 103 of file mroute6.h.

#define MFC_ASSERT_THRESH   (3*HZ) /* Maximal freq. of asserts */

Definition at line 114 of file mroute6.h.

#define MFC_NOTIFY   2

Definition at line 101 of file mroute6.h.

#define MFC_STATIC   1

Definition at line 100 of file mroute6.h.

#define VIFF_STATIC   0x8000

Definition at line 74 of file mroute6.h.

Function Documentation

int ip6mr_get_route ( struct net net,
struct sk_buff skb,
struct rtmsg rtm,
int  nowait 
)

Definition at line 2134 of file ip6mr.c.