-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyHeader.h
48 lines (35 loc) · 818 Bytes
/
MyHeader.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef _MYCOMMON
#define _MYCOMMON
#define BYTE unsigned char
#define UINT unsigned int
#define USHORT unsigned short
#define ULONG unsigned long
#include <iostream>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/syscall.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <netinet/tcp.h>
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/ip.h>
#include <net/if.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <linux/if_packet.h>
#include <netinet/if_ether.h>
#include <netinet/in.h>
#include <netdb.h>
#include <netinet/in.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <pthread.h>
#include "time.h"
#include <dirent.h>
#include <ifaddrs.h>
//#include <mysql/mysql.h>
using namespace std;
#endif // COMMONDEFINES