Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pfxlen.c File Reference
#include <linux/export.h>
#include <linux/netfilter/ipset/pfxlen.h>

Go to the source code of this file.

Macros

#define E(a, b, c, d)
 
#define E(a, b, c, d)
 

Functions

 EXPORT_SYMBOL_GPL (ip_set_netmask_map)
 
 EXPORT_SYMBOL_GPL (ip_set_hostmask_map)
 
u32 ip_set_range_to_cidr (u32 from, u32 to, u8 *cidr)
 
 EXPORT_SYMBOL_GPL (ip_set_range_to_cidr)
 

Variables

union nf_inet_addr ip_set_netmask_map []
 
union nf_inet_addr ip_set_hostmask_map []
 

Macro Definition Documentation

#define E (   a,
  b,
  c,
  d 
)
Value:
{.ip6 = { \
__constant_htonl(a), __constant_htonl(b), \
__constant_htonl(c), __constant_htonl(d), \
} }

Definition at line 152 of file pfxlen.c.

#define E (   a,
  b,
  c,
  d 
)
Value:
{.ip6 = { (__force __be32) a, (__force __be32) b, \
(__force __be32) c, (__force __be32) d, \
} }

Definition at line 152 of file pfxlen.c.

Function Documentation

EXPORT_SYMBOL_GPL ( ip_set_netmask_map  )
EXPORT_SYMBOL_GPL ( ip_set_hostmask_map  )
EXPORT_SYMBOL_GPL ( ip_set_range_to_cidr  )
u32 ip_set_range_to_cidr ( u32  from,
u32  to,
u8 cidr 
)

Definition at line 296 of file pfxlen.c.

Variable Documentation

union nf_inet_addr ip_set_hostmask_map[]

Definition at line 161 of file pfxlen.c.

union nf_inet_addr ip_set_netmask_map[]

Definition at line 18 of file pfxlen.c.