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

Go to the source code of this file.

Data Structures

struct  vif_device
 
struct  mfc_cache
 

Macros

#define VIFF_STATIC   0x8000
 
#define MFC_STATIC   1
 
#define MFC_NOTIFY   2
 
#define MFC_LINES   64
 
#define MFC_HASH(a, b)   ((((__force u32)(__be32)a)^(((__force u32)(__be32)b)>>2))&(MFC_LINES-1))
 

Functions

int ipmr_get_route (struct net *net, struct sk_buff *skb, __be32 saddr, __be32 daddr, struct rtmsg *rtm, int nowait)
 

Macro Definition Documentation

#define MFC_HASH (   a,
  b 
)    ((((__force u32)(__be32)a)^(((__force u32)(__be32)b)>>2))&(MFC_LINES-1))

Definition at line 100 of file mroute.h.

#define MFC_LINES   64

Definition at line 95 of file mroute.h.

#define MFC_NOTIFY   2

Definition at line 93 of file mroute.h.

#define MFC_STATIC   1

Definition at line 92 of file mroute.h.

#define VIFF_STATIC   0x8000

Definition at line 65 of file mroute.h.

Function Documentation

int ipmr_get_route ( struct net net,
struct sk_buff skb,
__be32  saddr,
__be32  daddr,
struct rtmsg rtm,
int  nowait 
)

Definition at line 2059 of file ipmr.c.