Functions | |
int | nfnlmsg_log_msg_parse (struct nlmsghdr *nlh, struct nfnl_log_msg **result) |
Log Commands | |
int | nfnl_log_build_pf_bind (uint8_t pf, struct nl_msg **result) |
int | nfnl_log_pf_bind (struct nl_sock *nlh, uint8_t pf) |
int | nfnl_log_build_pf_unbind (uint8_t pf, struct nl_msg **result) |
int | nfnl_log_pf_unbind (struct nl_sock *nlh, uint8_t pf) |
int | nfnl_log_build_create_request (const struct nfnl_log *log, struct nl_msg **result) |
int | nfnl_log_create (struct nl_sock *nlh, const struct nfnl_log *log) |
int | nfnl_log_build_change_request (const struct nfnl_log *log, struct nl_msg **result) |
int | nfnl_log_change (struct nl_sock *nlh, const struct nfnl_log *log) |
int | nfnl_log_build_delete_request (const struct nfnl_log *log, struct nl_msg **result) |
int | nfnl_log_delete (struct nl_sock *nlh, const struct nfnl_log *log) |
References nfulnl_msg_config_cmd::command, NFULA_CFG_CMD, NFULNL_CFG_CMD_BIND, nla_put(), NLE_MSGSIZE, and nlmsg_free().
Referenced by nfnl_log_create().
References nfnl_log_get_group(), nfnl_log_test_group(), NFULNL_CFG_CMD_UNBIND, and NLE_MISSING_ATTR.
Referenced by nfnl_log_delete().
References NFULNL_CFG_CMD_PF_BIND.
Referenced by nfnl_log_pf_bind().
References NFULNL_CFG_CMD_PF_UNBIND.
Referenced by nfnl_log_pf_unbind().
References nfnl_log_build_create_request().
Referenced by main().
References nfnl_log_build_pf_bind().
Referenced by main().
References nfnl_log_build_pf_unbind().
Referenced by main().
int nfnlmsg_log_msg_parse | ( | struct nlmsghdr * | nlh, |
struct nfnl_log_msg ** | result | ||
) |
References nfulnl_msg_packet_hdr::hook, nfulnl_msg_packet_hw::hw_addr, nfulnl_msg_packet_hw::hw_addrlen, nfulnl_msg_packet_hdr::hw_protocol, nfnl_log_msg_alloc(), nfnl_log_msg_put(), nfnl_log_msg_set_family(), nfnl_log_msg_set_gid(), nfnl_log_msg_set_hook(), nfnl_log_msg_set_hwaddr(), nfnl_log_msg_set_hwproto(), nfnl_log_msg_set_indev(), nfnl_log_msg_set_mark(), nfnl_log_msg_set_outdev(), nfnl_log_msg_set_payload(), nfnl_log_msg_set_physindev(), nfnl_log_msg_set_physoutdev(), nfnl_log_msg_set_prefix(), nfnl_log_msg_set_seq(), nfnl_log_msg_set_seq_global(), nfnl_log_msg_set_timestamp(), nfnl_log_msg_set_uid(), nfnlmsg_family(), NFULA_GID, NFULA_HWADDR, NFULA_IFINDEX_INDEV, NFULA_IFINDEX_OUTDEV, NFULA_IFINDEX_PHYSINDEV, NFULA_IFINDEX_PHYSOUTDEV, NFULA_MARK, NFULA_MAX, NFULA_PACKET_HDR, NFULA_PAYLOAD, NFULA_PREFIX, NFULA_SEQ, NFULA_SEQ_GLOBAL, NFULA_TIMESTAMP, NFULA_UID, nla_data(), nla_get_u32(), nla_len(), NLE_NOMEM, nlmsg_parse(), nlmsghdr::nlmsg_type, nfulnl_msg_packet_timestamp::sec, tb, and nfulnl_msg_packet_timestamp::usec.