#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <arpa/inet.h>
#include <time.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack_tcp.h>
Functions | |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
References ATTR_IPV4_DST, ATTR_IPV4_SRC, ATTR_L3PROTO, ATTR_L4PROTO, ATTR_PORT_DST, ATTR_PORT_SRC, ATTR_STATUS, ATTR_TCP_STATE, ATTR_TIMEOUT, CONNTRACK, ct, IPS_ASSURED, nfct_close(), nfct_destroy(), nfct_new(), nfct_open(), NFCT_Q_CREATE, nfct_query(), nfct_set_attr_u16(), nfct_set_attr_u32(), nfct_set_attr_u8(), nfct_setobjopt(), NFCT_SOPT_SETUP_REPLY, and TCP_CONNTRACK_ESTABLISHED.