• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  */
10 typedef void (*set_attr)(struct nf_conntrack *ct, const void *value, size_t len);
11 typedef const void *(*get_attr)(const struct nf_conntrack *ct);
12 typedef void (*copy_attr)(struct nf_conntrack *d, const struct nf_conntrack *o);
13 typedef void (*filter_attr)(struct nfct_filter *filter, const void *value);
14 typedef int (*getobjopt)(const struct nf_conntrack *ct);
15 typedef void (*setobjopt)(struct nf_conntrack *ct);
16 typedef void (*set_attr_grp)(struct nf_conntrack *ct, const void *value);
17 typedef void (*get_attr_grp)(const struct nf_conntrack *ct, void *data);
18 typedef void (*set_filter_dump_attr)(struct nfct_filter_dump *filter_dump, const void *value);
19 
20 /*
21  * expectation types
22  */
23 typedef void (*set_exp_attr)(struct nf_expect *exp, const void *value);
24 typedef const void *(*get_exp_attr)(const struct nf_expect *exp);
25 
26 #endif
27