17#include <netlink/netlink.h>
30extern struct nfnl_log *nfnl_log_alloc(
void);
31extern struct nfnl_log *nfnlmsg_log_parse(
struct nlmsghdr *);
33extern void nfnl_log_get(
struct nfnl_log *);
34extern void nfnl_log_put(
struct nfnl_log *);
36extern struct nl_msg * nfnl_log_build_bind(uint16_t);;
37extern int nfnl_log_bind(
struct nl_handle *, uint16_t);
38extern struct nl_msg * nfnl_log_build_unbind(uint16_t);
39extern int nfnl_log_unbind(
struct nl_handle *, uint16_t);
40extern struct nl_msg * nfnl_log_build_pf_bind(uint8_t);
41extern int nfnl_log_pf_bind(
struct nl_handle *, uint8_t);
42extern struct nl_msg * nfnl_log_build_pf_unbind(uint8_t);
43extern int nfnl_log_pf_unbind(
struct nl_handle *, uint8_t);
44extern struct nl_msg * nfnl_log_build_mode(uint16_t, uint8_t, uint32_t);
45extern int nfnl_log_set_mode(
struct nl_handle *, uint16_t,
48extern void nfnl_log_set_family(
struct nfnl_log *, uint8_t);
49extern uint8_t nfnl_log_get_family(
const struct nfnl_log *);
51extern void nfnl_log_set_hwproto(
struct nfnl_log *, uint16_t);
52extern int nfnl_log_test_hwproto(
const struct nfnl_log *);
53extern uint16_t nfnl_log_get_hwproto(
const struct nfnl_log *);
55extern void nfnl_log_set_hook(
struct nfnl_log *, uint8_t);
56extern int nfnl_log_test_hook(
const struct nfnl_log *);
57extern uint8_t nfnl_log_get_hook(
const struct nfnl_log *);
59extern void nfnl_log_set_mark(
struct nfnl_log *, uint32_t);
60extern int nfnl_log_test_mark(
const struct nfnl_log *);
61extern uint32_t nfnl_log_get_mark(
const struct nfnl_log *);
63extern void nfnl_log_set_timestamp(
struct nfnl_log *,
65extern const struct timeval *nfnl_log_get_timestamp(
const struct nfnl_log *);
67extern void nfnl_log_set_indev(
struct nfnl_log *, uint32_t);
68extern uint32_t nfnl_log_get_indev(
const struct nfnl_log *);
70extern void nfnl_log_set_outdev(
struct nfnl_log *, uint32_t);
71extern uint32_t nfnl_log_get_outdev(
const struct nfnl_log *);
73extern void nfnl_log_set_physindev(
struct nfnl_log *, uint32_t);
74extern uint32_t nfnl_log_get_physindev(
const struct nfnl_log *);
76extern void nfnl_log_set_physoutdev(
struct nfnl_log *, uint32_t);
77extern uint32_t nfnl_log_get_physoutdev(
const struct nfnl_log *);
79extern void nfnl_log_set_hwaddr(
struct nfnl_log *, uint8_t *,
int);
80extern const uint8_t * nfnl_log_get_hwaddr(
const struct nfnl_log *,
int *);
82extern int nfnl_log_set_payload(
struct nfnl_log *, uint8_t *,
int);
83extern const void * nfnl_log_get_payload(
const struct nfnl_log *,
int *);
85extern int nfnl_log_set_prefix(
struct nfnl_log *,
void *);
86extern const char * nfnl_log_get_prefix(
const struct nfnl_log *);
88extern void nfnl_log_set_uid(
struct nfnl_log *, uint32_t);
89extern int nfnl_log_test_uid(
const struct nfnl_log *);
90extern uint32_t nfnl_log_get_uid(
const struct nfnl_log *);
92extern void nfnl_log_set_seq(
struct nfnl_log *, uint32_t);
93extern int nfnl_log_test_seq(
const struct nfnl_log *);
94extern uint32_t nfnl_log_get_seq(
const struct nfnl_log *);
96extern void nfnl_log_set_seq_global(
struct nfnl_log *, uint32_t);
97extern int nfnl_log_test_seq_global(
const struct nfnl_log *);
98extern uint32_t nfnl_log_get_seq_global(
const struct nfnl_log *);