diff options
Diffstat (limited to 'include/internal/types.h')
-rw-r--r-- | include/internal/types.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/internal/types.h b/include/internal/types.h new file mode 100644 index 0000000..a13722c --- /dev/null +++ b/include/internal/types.h @@ -0,0 +1,21 @@ +/* + * WARNING: Do *NOT* ever include this file, only for internal use! + */ +#ifndef _NFCT_TYPES_H_ +#define _NFCT_TYPES_H_ + +/* + * conntrack types + */ +typedef void (*set_attr)(struct nf_conntrack *ct, const void *value); +typedef const void *(*get_attr)(const struct nf_conntrack *ct); +typedef void (*copy_attr)(struct nf_conntrack *d, const struct nf_conntrack *o); +typedef void (*filter_attr)(struct nfct_filter *filter, const void *value); + +/* + * expectation types + */ +typedef void (*set_exp_attr)(struct nf_expect *exp, const void *value); +typedef const void *(*get_exp_attr)(const struct nf_expect *exp); + +#endif |