#include "conntrackd.h"#include "log.h"#include "fds.h"#include "helper.h"#include <unistd.h>#include <fcntl.h>#include <time.h>#include <errno.h>#include <netinet/in.h>#include <netinet/ip.h>#include <netinet/ip6.h>#include <netinet/tcp.h>#include <netinet/udp.h>#include <net/ethernet.h>#include <linux/netfilter/nfnetlink_queue.h>#include <libmnl/libmnl.h>#include <libnetfilter_queue/libnetfilter_queue.h>#include <libnetfilter_queue/pktbuff.h>#include <libnetfilter_cthelper/libnetfilter_cthelper.h>#include <linux/netfilter.h>
Macros | |
| #define | __aligned_be64 unsigned long long __attribute__((aligned(8))) |
Functions | |
| void | cthelper_kill (void) |
| int | cthelper_local (int fd, int type, void *data) |
| int | cthelper_init (void) |
| #define __aligned_be64 unsigned long long __attribute__((aligned(8))) |
| int cthelper_init | ( | void | ) |
References CONFIG, ct_state::cthelper, dlog(), ctd_helper_instance::head, list_for_each_entry, LOG_ERR, MNL_SOCKET_AUTOPID, mnl_socket_bind(), mnl_socket_get_fd(), mnl_socket_get_portid(), mnl_socket_open(), NETLINK_NETFILTER, NULL, register_fd(), state, STATE, and STATE_CTH.
Referenced by init().


| void cthelper_kill | ( | void | ) |
References ct_state::cthelper, mnl_socket_close(), state, and STATE_CTH.
Referenced by killer().


| int cthelper_local | ( | int | fd, |
| int | type, | ||
| void * | data | ||
| ) |
References LOCAL_RET_OK.