#include <stdlib.h>#include <stdio.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <libnfnetlink/libnfnetlink.h>#include <libnetfilter_log/libnetfilter_log.h>#include <libnetfilter_log/libipulog.h>
Data Structures | |
| struct | ipulog_handle |
| struct | ipulog_errmap_t |
Macros | |
| #define | PAYLOAD_SIZE 0xffff |
Functions | |
| const char * | ipulog_strerror (int errcode) |
| u_int32_t | ipulog_group2gmask (u_int32_t group) |
| struct ipulog_handle * | ipulog_create_handle (u_int32_t gmask, u_int32_t rcvbufsize) |
| void | ipulog_destroy_handle (struct ipulog_handle *h) |
| ulog_packet_msg_t * | ipulog_get_packet (struct ipulog_handle *h, const unsigned char *buf, size_t len) |
| ssize_t | ipulog_read (struct ipulog_handle *h, unsigned char *buf, size_t len, int timeout) |
| void | ipulog_perror (const char *s) |
Variables | |
| int | ipulog_errno = IPULOG_ERR_NONE |
| #define PAYLOAD_SIZE 0xffff |
Referenced by ipulog_create_handle().
| struct ipulog_handle* ipulog_create_handle | ( | u_int32_t | gmask, |
| u_int32_t | rcvbufsize | ||
| ) |
| void ipulog_destroy_handle | ( | struct ipulog_handle * | h | ) |
| ulog_packet_msg_t* ipulog_get_packet | ( | struct ipulog_handle * | h, |
| const unsigned char * | buf, | ||
| size_t | len | ||
| ) |
| u_int32_t ipulog_group2gmask | ( | u_int32_t | group | ) |
| void ipulog_perror | ( | const char * | s | ) |
| ssize_t ipulog_read | ( | struct ipulog_handle * | h, |
| unsigned char * | buf, | ||
| size_t | len, | ||
| int | timeout | ||
| ) |
| const char* ipulog_strerror | ( | int | errcode | ) |
| int ipulog_errno = IPULOG_ERR_NONE |