Data Structures | |
struct | labelmap_bucket |
struct | nfct_labelmap |
Macros | |
#define | MAX_BITS 1024 |
#define | CONNLABEL_CFG "/etc/xtables/connlabel.conf" |
#define | HASH_SIZE 64 |
Functions | |
int | __labelmap_get_bit (struct nfct_labelmap *m, const char *name) |
const char * | __labelmap_get_name (struct nfct_labelmap *m, unsigned int bit) |
void | __labelmap_destroy (struct nfct_labelmap *map) |
struct nfct_labelmap * | __labelmap_new (const char *name) |
#define CONNLABEL_CFG "/etc/xtables/connlabel.conf" |
Referenced by __labelmap_new().
#define HASH_SIZE 64 |
Referenced by __labelmap_destroy().
#define MAX_BITS 1024 |
Referenced by __labelmap_new().
void __labelmap_destroy | ( | struct nfct_labelmap * | map | ) |
References nfct_labelmap::bit_to_name, HASH_SIZE, and nfct_labelmap::map_name.
Referenced by __labelmap_new(), and nfct_labelmap_destroy().
int __labelmap_get_bit | ( | struct nfct_labelmap * | m, |
const char * | name | ||
) |
References labelmap_bucket::bit, nfct_labelmap::map_name, labelmap_bucket::name, and labelmap_bucket::next.
Referenced by nfct_labelmap_get_bit().
const char* __labelmap_get_name | ( | struct nfct_labelmap * | m, |
unsigned int | bit | ||
) |
References labelmap_bucket::bit, nfct_labelmap::bit_to_name, and NULL.
Referenced by nfct_labelmap_get_name().
struct nfct_labelmap* __labelmap_new | ( | const char * | name | ) |
References __labelmap_destroy(), nfct_labelmap::bit_to_name, CONNLABEL_CFG, MAX_BITS, nfct_labelmap::namecount, and NULL.
Referenced by nfct_labelmap_new().