mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-07 23:59:36 +08:00
Merge branch 'portable' of https://github.com/wangyu-/udp2raw-tunnel into portable
This commit is contained in:
commit
26b356866f
14
common.h
14
common.h
@ -18,30 +18,30 @@
|
|||||||
#include<unistd.h>
|
#include<unistd.h>
|
||||||
#include<errno.h>
|
#include<errno.h>
|
||||||
//#include <sys/epoll.h>
|
//#include <sys/epoll.h>
|
||||||
#include <sys/wait.h>
|
//#include <sys/wait.h>
|
||||||
#include <sys/socket.h> //for socket ofcourse
|
#include <sys/socket.h> //for socket ofcourse
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stdlib.h> //for exit(0);
|
#include <stdlib.h> //for exit(0);
|
||||||
#include <errno.h> //For errno - the error number
|
#include <errno.h> //For errno - the error number
|
||||||
#include <netdb.h> // for gethostbyname()
|
//#include <netdb.h> // for gethostbyname()
|
||||||
//#include <netinet/tcp.h> //Provides declarations for tcp header
|
//#include <netinet/tcp.h> //Provides declarations for tcp header
|
||||||
//#include <netinet/udp.h>
|
//#include <netinet/udp.h>
|
||||||
//#include <netinet/ip.h> //Provides declarations for ip header
|
//#include <netinet/ip.h> //Provides declarations for ip header
|
||||||
//#include <netinet/if_ether.h>
|
//#include <netinet/if_ether.h>
|
||||||
#include <arpa/inet.h>
|
//#include <arpa/inet.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
//#include <byteswap.h>
|
//#include <byteswap.h>
|
||||||
#include <arpa/inet.h>
|
//#include <arpa/inet.h>
|
||||||
//#include <linux/if_ether.h>
|
//#include <linux/if_ether.h>
|
||||||
//#include <linux/filter.h>
|
//#include <linux/filter.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
//#include <sys/timerfd.h>
|
//#include <sys/timerfd.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <netinet/in.h>
|
//#include <netinet/in.h>
|
||||||
#include <net/if.h>
|
//#include <net/if.h>
|
||||||
#include <arpa/inet.h>
|
//#include <arpa/inet.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
//#include <linux/if_packet.h>
|
//#include <linux/if_packet.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user