* include/cygwin/socket.h: Protect some symbols against multiple

definition.
	* include/netinet/ip.h: Ditto.
	* include/netinet/tcp.h: Ditto.

	* include/netinet/ip.h: Replace by BSD derived version of the file.
	* include/netinet/tcp.h: Ditto.
	* include/netinet/udp.h: New file.
	* include/cygwin/ip.h: Remove.
This commit is contained in:
Corinna Vinschen
2002-05-29 07:38:54 +00:00
parent f59faec485
commit 9854c44c43
6 changed files with 401 additions and 22 deletions

View File

@ -123,9 +123,11 @@ struct msghdr
#define SOL_UDP 17
/* IP options */
#ifndef IPTOS_LOWDELAY
#define IPTOS_LOWDELAY 0x10
#define IPTOS_THROUGHPUT 0x08
#define IPTOS_RELIABILITY 0x04
#endif
/* These need to appear somewhere around here */
#define IP_DEFAULT_MULTICAST_TTL 1
@ -148,8 +150,10 @@ struct msghdr
#define IPX_TYPE 1
/* TCP options - this way around because someone left a set in the c library includes */
#ifndef TCP_NODELAY
#define TCP_NODELAY 0x0001
#define TCP_MAXSEG 2
#endif
/* The various priorities. */
#define SOPRI_INTERACTIVE 0