1/*
2 * WARNING: Do *NOT* ever include this file, only for internal use!
3 */
4#ifndef _NFCT_TYPES_H_
5#define _NFCT_TYPES_H_
6
7/*
8 * conntrack types
9 */
10typedef void (*set_attr)(struct nf_conntrack *ct, const void *value, size_t len);
11typedef const void *(*get_attr)(const struct nf_conntrack *ct);
12typedef void (*copy_attr)(struct nf_conntrack *d, const struct nf_conntrack *o);
13typedef void (*filter_attr)(struct nfct_filter *filter, const void *value);
14typedef int (*getobjopt)(const struct nf_conntrack *ct);
15typedef void (*setobjopt)(struct nf_conntrack *ct);
16typedef void (*set_attr_grp)(struct nf_conntrack *ct, const void *value);
17typedef void (*get_attr_grp)(const struct nf_conntrack *ct, void *data);
18typedef void (*set_filter_dump_attr)(struct nfct_filter_dump *filter_dump, const void *value);
19
20/*
21 * expectation types
22 */
23typedef void (*set_exp_attr)(struct nf_expect *exp, const void *value);
24typedef const void *(*get_exp_attr)(const struct nf_expect *exp);
25
26#endif
27