Home
last modified time | relevance | path

Searched refs:nfct_labelmap (Results 1 – 12 of 12) sorted by relevance

/external/libnetfilter_conntrack/src/conntrack/
Dlabels.c17 struct nfct_labelmap { struct
52 int __labelmap_get_bit(struct nfct_labelmap *m, const char *name) in __labelmap_get_bit()
65 const char *__labelmap_get_name(struct nfct_labelmap *m, unsigned int bit) in __labelmap_get_name()
72 static int map_insert(struct nfct_labelmap *m, const char *n, unsigned int b) in map_insert()
148 void __labelmap_destroy(struct nfct_labelmap *map) in __labelmap_destroy()
162 static void make_name_table(struct nfct_labelmap *m) in make_name_table()
176 static struct nfct_labelmap *map_alloc(void) in map_alloc()
178 struct nfct_labelmap *map = malloc(sizeof(*map)); in map_alloc()
217 struct nfct_labelmap *__labelmap_new(const char *name) in __labelmap_new()
219 struct nfct_labelmap *map; in __labelmap_new()
Dapi.c1110 struct nfct_labelmap *map) in nfct_snprintf_labels()
1550 const char *nfct_labelmap_get_name(struct nfct_labelmap *m, unsigned int bit) in nfct_labelmap_get_name()
1563 int nfct_labelmap_get_bit(struct nfct_labelmap *m, const char *name) in nfct_labelmap_get_bit()
1576 struct nfct_labelmap *nfct_labelmap_new(const char *mapfile) in nfct_labelmap_new()
1588 void nfct_labelmap_destroy(struct nfct_labelmap *map) in nfct_labelmap_destroy()
Dsnprintf.c72 struct nfct_labelmap *map) in __snprintf_conntrack()
Dsnprintf_default.c300 struct nfct_labelmap *map, in __snprintf_connlabels()
323 const struct nf_conntrack *ct, struct nfct_labelmap *map) in __snprintf_clabels()
351 struct nfct_labelmap *map) in __snprintf_conntrack_default()
Dsnprintf_xml.c358 const struct nf_conntrack *ct, struct nfct_labelmap *map) in __snprintf_clabels_xml()
384 struct nfct_labelmap *map) in __snprintf_conntrack_xml()
/external/libnetfilter_conntrack/include/internal/
Dprototypes.h12 …track *ct, unsigned int type, unsigned int msg_output, unsigned int flags, struct nfct_labelmap *);
16 …t nf_conntrack *ct, const unsigned int msg_type, const unsigned int flags, struct nfct_labelmap *);
17 …t nf_conntrack *ct, const unsigned int msg_type, const unsigned int flags, struct nfct_labelmap *);
18 int __snprintf_connlabels(char *buf, unsigned int len, struct nfct_labelmap *map, const struct nfct…
62 struct nfct_labelmap *__labelmap_new(const char *);
63 void __labelmap_destroy(struct nfct_labelmap *);
65 int __labelmap_get_bit(struct nfct_labelmap *map, const char *name);
66 const char *__labelmap_get_name(struct nfct_labelmap *map, unsigned int bit);
Dobject.h320 struct nfct_labelmap;
/external/libnetfilter_conntrack/qa/
Dtest_connlabel.c9 static void print_label(struct nfct_labelmap *map) in print_label()
30 static void dump_map(struct nfct_labelmap *map) in dump_map()
46 struct nfct_labelmap *l; in main()
/external/libnetfilter_conntrack/include/libnetfilter_conntrack/
Dlibnetfilter_conntrack.h304 struct nfct_labelmap;
307 struct nfct_labelmap *nfct_labelmap_new(const char *mapfile);
308 void nfct_labelmap_destroy(struct nfct_labelmap *map);
309 const char *nfct_labelmap_get_name(struct nfct_labelmap *m, unsigned int bit);
310 int nfct_labelmap_get_bit(struct nfct_labelmap *m, const char *name);
421 struct nfct_labelmap *map);
/external/libnetfilter_conntrack/examples/
Dnfct-mnl-dump-labels.c8 static void print_label(struct nf_conntrack *ct, struct nfct_labelmap *map) in print_label()
52 struct nfct_labelmap *l = nfct_labelmap_new(NULL); in main()
Dnfct-mnl-set-label.c85 static void show_labels(struct nfct_labelmap *l) in show_labels()
130 struct nfct_labelmap *l = nfct_labelmap_new(NULL); in main()
/external/iptables/extensions/
Dlibxt_connlabel.c15 static struct nfct_labelmap *map;