blob: 9cd92b287c15c42c23bc9fc37e6c2b6cc990003f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _LIBNFTABLES_COMMON_H_
#define _LIBNFTABLES_COMMON_H_
enum nft_output_type {
NFT_OUTPUT_DEFAULT = 0,
NFT_OUTPUT_XML,
NFT_OUTPUT_JSON,
};
enum nft_parse_type {
NFT_PARSE_NONE = 0,
NFT_PARSE_XML,
NFT_PARSE_JSON,
NFT_PARSE_MAX,
};
struct nlmsghdr *nft_nlmsg_build_hdr(char *buf, uint16_t cmd, uint16_t family,
uint16_t type, uint32_t seq);
#endif
|