#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <arpa/inet.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack_tcp.h>
Functions | |
int | main (void) |
int main | ( | void | ) |
References nfct_filter_ipv4::addr, nfct_filter_ipv6::addr, CONNTRACK, NF_NETLINK_CONNTRACK_NEW, NF_NETLINK_CONNTRACK_UPDATE, nfct_callback_register(), nfct_catch(), nfct_close(), nfct_fd(), nfct_filter_add_attr(), nfct_filter_add_attr_u32(), nfct_filter_attach(), nfct_filter_create(), nfct_filter_destroy(), NFCT_FILTER_L4PROTO, NFCT_FILTER_L4PROTO_STATE, NFCT_FILTER_LOGIC_NEGATIVE, nfct_filter_set_logic(), NFCT_FILTER_SRC_IPV4, NFCT_FILTER_SRC_IPV6, nfct_open(), NFCT_T_ALL, NULL, nfct_filter_proto::proto, and TCP_CONNTRACK_ESTABLISHED.