#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <net/if.h>
#include <libipulog/libipulog.h>
References ipulog_handle::fd, IPULOG_ERR_BIND, IPULOG_ERR_HANDLE, IPULOG_ERR_RECVBUF, IPULOG_ERR_SOCKET, ipulog_errno, ipulog_handle::local, NETLINK_NFLOG, nflog_bind_group(), nflog_bind_pf(), nflog_open(), ipulog_handle::nful_gh, ipulog_handle::nfulh, sockaddr_nl::nl_family, sockaddr_nl::nl_groups, sockaddr_nl::nl_pid, NULL, PAYLOAD_SIZE, and ipulog_handle::peer.
References ulog_packet_msg::data_len, nfulnl_msg_packet_hdr::hook, ulog_packet_msg::hook, nfulnl_msg_packet_hw::hw_addr, nfulnl_msg_packet_hw::hw_addrlen, ulog_packet_msg::indev_name, IPULOG_ERR_INVNL, ipulog_errno, ipulog_handle::last_nlh, ipulog_handle::last_nlhdr, ulog_packet_msg::mac, ulog_packet_msg::mac_len, ulog_packet_msg::mark, NFA_DATA, NFA_PAYLOAD, nflog_nfnlh(), NFM_NFA, NFM_PAYLOAD, nfnl_get_msg_first(), nfnl_get_msg_next(), nfnl_parse_attr(), NFULA_HWADDR, NFULA_IFINDEX_INDEV, NFULA_IFINDEX_OUTDEV, NFULA_MARK, NFULA_MAX, NFULA_PACKET_HDR, NFULA_PAYLOAD, NFULA_PREFIX, NFULA_TIMESTAMP, ipulog_handle::nfulh, nlh, NLM_F_MULTI, NLMSG_DATA, NLMSG_DONE, nlmsghdr::nlmsg_flags, NLMSG_NEXT, NLMSG_OK, nlmsghdr::nlmsg_type, NULL, ulog_packet_msg::outdev_name, ulog_packet_msg::payload, ulog_packet_msg::prefix, tb, ulog_packet_msg::timestamp_sec, ulog_packet_msg::timestamp_usec, ULOG_PREFIX_LEN, and ipulog_handle::upmsg.
Referenced by main().
u_int32_t ipulog_group2gmask |
( |
u_int32_t |
group | ) |
|
void ipulog_perror |
( |
const char * |
s | ) |
|
char* ipulog_strerror |
( |
int |
errcode | ) |
|
struct ipulog_errmap_t ipulog_errmap[] |
Initial value:=
{
}
Definition: libipulog.h:64
Definition: libipulog.h:54
Definition: libipulog.h:63
Definition: libipulog.h:57
Definition: libipulog.h:60
Definition: libipulog.h:62
Definition: libipulog.h:58
Definition: libipulog.h:55
Definition: libipulog.h:56
Definition: libipulog.h:59
Definition: libipulog.h:61