#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 ATTR_GRP_ORIG_IPV4, ATTR_GRP_ORIG_PORT, ATTR_HELPER_NAME, ATTR_L4PROTO, ATTR_TCP_STATE, ATTR_TIMEOUT, CONNTRACK, ct, nfct_close(), nfct_destroy(), nfct_new(), nfct_open(), NFCT_Q_CREATE, nfct_query(), nfct_set_attr(), nfct_set_attr_grp(), nfct_set_attr_u32(), nfct_set_attr_u8(), nfct_setobjopt(), NFCT_SOPT_SETUP_REPLY, nfct_attr_grp_port::sport, nfct_attr_grp_ipv4::src, and TCP_CONNTRACK_SYN_SENT.