|
@ -1,22 +1,24 @@ |
|
|
#pragma once |
|
|
#pragma once |
|
|
|
|
|
|
|
|
#define __FAVOR_BSD |
|
|
|
|
|
|
|
|
|
|
|
// this conntrack is not bullet-proof
|
|
|
// this conntrack is not bullet-proof
|
|
|
// its designed to satisfy dpi desync needs only
|
|
|
// its designed to satisfy dpi desync needs only
|
|
|
|
|
|
|
|
|
|
|
|
#include "packet_queue.h" |
|
|
|
|
|
|
|
|
#include <stdbool.h> |
|
|
#include <stdbool.h> |
|
|
#include <stdint.h> |
|
|
#include <stdint.h> |
|
|
#include <ctype.h> |
|
|
#include <ctype.h> |
|
|
#include <sys/types.h> |
|
|
#include <sys/types.h> |
|
|
#include <time.h> |
|
|
#include <time.h> |
|
|
#include <netinet/in.h> |
|
|
#include <netinet/in.h> |
|
|
|
|
|
|
|
|
|
|
|
#define __FAVOR_BSD |
|
|
#include <netinet/ip.h> |
|
|
#include <netinet/ip.h> |
|
|
#include <netinet/ip6.h> |
|
|
#include <netinet/ip6.h> |
|
|
#include <netinet/tcp.h> |
|
|
#include <netinet/tcp.h> |
|
|
#include <netinet/udp.h> |
|
|
#include <netinet/udp.h> |
|
|
|
|
|
|
|
|
#include "packet_queue.h" |
|
|
|
|
|
|
|
|
|
|
|
//#define HASH_BLOOM 20
|
|
|
//#define HASH_BLOOM 20
|
|
|
#define HASH_NONFATAL_OOM 1 |
|
|
#define HASH_NONFATAL_OOM 1 |
|
|