1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef _IGNORE_H_ #define _IGNORE_H_ #include <stdint.h> struct nf_conntrack; struct ignore_pool { struct hashtable *h; }; struct ignore_pool *ignore_pool_create(uint8_t family); void ignore_pool_destroy(struct ignore_pool *ip); int ignore_pool_add(struct ignore_pool *ip, void *data); int ignore_pool_test(struct ignore_pool *ip, struct nf_conntrack *ct); #endif