netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pfxlen.c File Reference
#include <linux/version.h>
#include <linux/netfilter/ipset/pfxlen.h>
Include dependency graph for pfxlen.c:

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

const union nf_inet_addr ip_set_netmask_map []
 
const union nf_inet_addr ip_set_hostmask_map []
 

Macro Definition Documentation

#define E (   a,
  b,
  c,
 
)
Value:
{.ip6 = { \
htonl(a), htonl(b), \
htonl(c), htonl(d), \
} }
#define E (   a,
  b,
  c,
 
)
Value:
{.ip6 = { (__force __be32) a, (__force __be32) b, \
(__force __be32) c, (__force __be32) d, \
} }
__u32 __bitwise __be32
Definition: types.h:30

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 
)

References after, u32, and u8.

Variable Documentation

const union nf_inet_addr ip_set_hostmask_map[]
const union nf_inet_addr ip_set_netmask_map[]