Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 1 | #ifndef _NET_NF_TABLES_CORE_H |
| 2 | #define _NET_NF_TABLES_CORE_H |
| 3 | |
Joe Perches | 5eccdfa | 2013-10-19 22:05:31 -0700 | [diff] [blame] | 4 | int nf_tables_core_module_init(void); |
| 5 | void nf_tables_core_module_exit(void); |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 6 | |
Joe Perches | 5eccdfa | 2013-10-19 22:05:31 -0700 | [diff] [blame] | 7 | int nft_immediate_module_init(void); |
| 8 | void nft_immediate_module_exit(void); |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 9 | |
Patrick McHardy | cb7dbfd | 2013-10-10 23:35:40 +0200 | [diff] [blame] | 10 | struct nft_cmp_fast_expr { |
| 11 | u32 data; |
| 12 | enum nft_registers sreg:8; |
| 13 | u8 len; |
| 14 | }; |
| 15 | |
| 16 | extern const struct nft_expr_ops nft_cmp_fast_ops; |
| 17 | |
Joe Perches | 5eccdfa | 2013-10-19 22:05:31 -0700 | [diff] [blame] | 18 | int nft_cmp_module_init(void); |
| 19 | void nft_cmp_module_exit(void); |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 20 | |
Joe Perches | 5eccdfa | 2013-10-19 22:05:31 -0700 | [diff] [blame] | 21 | int nft_lookup_module_init(void); |
| 22 | void nft_lookup_module_exit(void); |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 23 | |
Joe Perches | 5eccdfa | 2013-10-19 22:05:31 -0700 | [diff] [blame] | 24 | int nft_bitwise_module_init(void); |
| 25 | void nft_bitwise_module_exit(void); |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 26 | |
Joe Perches | 5eccdfa | 2013-10-19 22:05:31 -0700 | [diff] [blame] | 27 | int nft_byteorder_module_init(void); |
| 28 | void nft_byteorder_module_exit(void); |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 29 | |
Patrick McHardy | c29b72e | 2013-10-10 11:06:41 +0200 | [diff] [blame] | 30 | struct nft_payload { |
| 31 | enum nft_payload_bases base:8; |
| 32 | u8 offset; |
| 33 | u8 len; |
| 34 | enum nft_registers dreg:8; |
| 35 | }; |
| 36 | |
| 37 | extern const struct nft_expr_ops nft_payload_fast_ops; |
| 38 | |
Joe Perches | 5eccdfa | 2013-10-19 22:05:31 -0700 | [diff] [blame] | 39 | int nft_payload_module_init(void); |
| 40 | void nft_payload_module_exit(void); |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 41 | |
| 42 | #endif /* _NET_NF_TABLES_CORE_H */ |