Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _NETNS_NFTABLES_H_ |
| 3 | #define _NETNS_NFTABLES_H_ |
| 4 | |
| 5 | #include <linux/list.h> |
| 6 | |
| 7 | struct netns_nftables { |
| 8 | struct list_head tables; |
| 9 | struct list_head commit_list; |
Olivier Deprez | 0e64123 | 2021-09-23 10:07:05 +0200 | [diff] [blame] | 10 | struct list_head module_list; |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 11 | struct list_head notify_list; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 12 | struct mutex commit_mutex; |
| 13 | unsigned int base_seq; |
| 14 | u8 gencursor; |
| 15 | u8 validate_state; |
| 16 | }; |
| 17 | |
| 18 | #endif |