nfs-ganesha 1.4
|
#include <inttypes.h>
#include <netinet/in.h>
Go to the source code of this file.
Classes | |
struct | cidr_addr |
Defines | |
#define | CIDR_NOFLAGS (0) |
#define | CIDR_NOCOMPACT (1) |
#define | CIDR_VERBOSE (1<<1) |
#define | CIDR_USEV6 (1<<2) |
#define | CIDR_USEV4COMPAT (1<<3) |
#define | CIDR_NETMASK (1<<4) |
#define | CIDR_ONLYADDR (1<<5) |
#define | CIDR_ONLYPFLEN (1<<6) |
#define | CIDR_WILDCARD (1<<7) |
#define | CIDR_FORCEV6 (1<<8) |
#define | CIDR_FORCEV4 (1<<9) |
#define | CIDR_REVERSE (1<<10) |
#define | CIDR_NOPROTO 0 |
#define | CIDR_IPV4 1 |
#define | CIDR_IPV6 2 |
#define | CIDR_VERSION "1.1" |
#define | CIDR_RELEASE "release" |
#define | CIDR_REVISION " (fullermd@over-yonder.net-20061125141312-f6mjjptgl4zqh6wt)" |
#define | CIDR_VERSION_STR (CIDR_VERSION "-" CIDR_RELEASE CIDR_REVISION) |
Typedefs | |
typedef struct cidr_addr | CIDR |
Functions | |
CIDR * | cidr_addr_broadcast (const CIDR *) |
CIDR * | cidr_addr_hostmax (const CIDR *) |
CIDR * | cidr_addr_hostmin (const CIDR *) |
CIDR * | cidr_addr_network (const CIDR *) |
CIDR * | cidr_alloc (void) |
int | cidr_contains (const CIDR *, const CIDR *) |
CIDR * | cidr_dup (const CIDR *) |
int | cidr_equals (const CIDR *, const CIDR *) |
void | cidr_free (CIDR *) |
CIDR * | cidr_from_inaddr (const struct in_addr *) |
CIDR * | cidr_from_in6addr (const struct in6_addr *) |
CIDR * | cidr_from_str (const char *) |
uint8_t * | cidr_get_addr (const CIDR *) |
uint8_t * | cidr_get_mask (const CIDR *) |
int | cidr_get_pflen (const CIDR *) |
int | cidr_get_proto (const CIDR *) |
int | cidr_is_v4mapped (const CIDR *) |
CIDR ** | cidr_net_subnets (const CIDR *) |
CIDR * | cidr_net_supernet (const CIDR *) |
const char * | cidr_numaddr (const CIDR *) |
const char * | cidr_numaddr_pflen (int) |
const char * | cidr_numhost (const CIDR *) |
const char * | cidr_numhost_pflen (int) |
struct in_addr * | cidr_to_inaddr (const CIDR *, struct in_addr *) |
struct in6_addr * | cidr_to_in6addr (const CIDR *, struct in6_addr *) |
char * | cidr_to_str (const CIDR *, int) |
const char * | cidr_version (void) |
#define CIDR_REVISION " (fullermd@over-yonder.net-20061125141312-f6mjjptgl4zqh6wt)" |
#define CIDR_VERSION_STR (CIDR_VERSION "-" CIDR_RELEASE CIDR_REVISION) |
Definition at line 60 of file cidr_addr.c.
Definition at line 128 of file cidr_addr.c.
Definition at line 112 of file cidr_addr.c.
Definition at line 15 of file cidr_addr.c.
CIDR* cidr_alloc | ( | void | ) |
Definition at line 18 of file cidr_mem.c.
Definition at line 16 of file cidr_compare.c.
Definition at line 36 of file cidr_mem.c.
Definition at line 100 of file cidr_compare.c.
void cidr_free | ( | CIDR * | ) |
Definition at line 51 of file cidr_mem.c.
CIDR* cidr_from_in6addr | ( | const struct in6_addr * | ) |
Definition at line 173 of file cidr_inaddr.c.
CIDR* cidr_from_inaddr | ( | const struct in_addr * | ) |
Definition at line 69 of file cidr_inaddr.c.
CIDR* cidr_from_str | ( | const char * | ) |
Definition at line 19 of file cidr_from_str.c.
uint8_t* cidr_get_addr | ( | const CIDR * | ) |
Definition at line 78 of file cidr_get.c.
uint8_t* cidr_get_mask | ( | const CIDR * | ) |
Definition at line 104 of file cidr_get.c.
int cidr_get_pflen | ( | const CIDR * | ) |
Definition at line 19 of file cidr_get.c.
int cidr_get_proto | ( | const CIDR * | ) |
Definition at line 130 of file cidr_get.c.
int cidr_is_v4mapped | ( | const CIDR * | ) |
Definition at line 24 of file cidr_misc.c.
Definition at line 73 of file cidr_net.c.
Definition at line 18 of file cidr_net.c.
const char* cidr_numaddr | ( | const CIDR * | ) |
Definition at line 30 of file cidr_num.c.
const char* cidr_numaddr_pflen | ( | int | ) |
Definition at line 16 of file cidr_num.c.
const char* cidr_numhost | ( | const CIDR * | ) |
Definition at line 64 of file cidr_num.c.
const char* cidr_numhost_pflen | ( | int | ) |
Definition at line 50 of file cidr_num.c.
struct in6_addr* cidr_to_in6addr | ( | const CIDR * | , |
struct in6_addr * | |||
) | [read] |
Definition at line 117 of file cidr_inaddr.c.
struct in_addr* cidr_to_inaddr | ( | const CIDR * | , |
struct in_addr * | |||
) | [read] |
Definition at line 17 of file cidr_inaddr.c.
char* cidr_to_str | ( | const CIDR * | , |
int | |||
) |
Definition at line 18 of file cidr_to_str.c.
const char* cidr_version | ( | void | ) |
Definition at line 15 of file cidr_misc.c.