summaryrefslogtreecommitdiff
path: root/include/net/netfilter/nf_tables_core.h
blob: 3df6a9be3bdd47951b5cc1c47d1cba4037b568e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _NET_NF_TABLES_CORE_H
#define _NET_NF_TABLES_CORE_H

extern int nf_tables_core_module_init(void);
extern void nf_tables_core_module_exit(void);

extern int nft_immediate_module_init(void);
extern void nft_immediate_module_exit(void);

struct nft_cmp_fast_expr {
	u32			data;
	enum nft_registers	sreg:8;
	u8			len;
};

extern const struct nft_expr_ops nft_cmp_fast_ops;

extern int nft_cmp_module_init(void);
extern void nft_cmp_module_exit(void);

extern int nft_lookup_module_init(void);
extern void nft_lookup_module_exit(void);

extern int nft_bitwise_module_init(void);
extern void nft_bitwise_module_exit(void);

extern int nft_byteorder_module_init(void);
extern void nft_byteorder_module_exit(void);

extern int nft_payload_module_init(void);
extern void nft_payload_module_exit(void);

#endif /* _NET_NF_TABLES_CORE_H */