| 1 | #ifndef _LIBNFTNL_RULE_INTERNAL_H_ |
| 2 | #define _LIBNFTNL_RULE_INTERNAL_H_ |
| 3 | |
| 4 | struct nftnl_rule { |
| 5 | struct list_head head; |
| 6 | |
| 7 | uint32_t flags; |
| 8 | uint32_t family; |
| 9 | const char *table; |
| 10 | const char *chain; |
| 11 | uint64_t handle; |
| 12 | uint64_t position; |
| 13 | uint32_t id; |
| 14 | uint32_t position_id; |
| 15 | struct { |
| 16 | void *data; |
| 17 | uint32_t len; |
| 18 | } user; |
| 19 | struct { |
| 20 | uint32_t flags; |
| 21 | uint32_t proto; |
| 22 | } compat; |
| 23 | |
| 24 | struct list_head expr_list; |
| 25 | }; |
| 26 | |
| 27 | #endif |