… | |
… | |
18 | */ |
18 | */ |
19 | |
19 | |
20 | #ifndef VPE_NETCOMPAT_H |
20 | #ifndef VPE_NETCOMPAT_H |
21 | #define VPE_NETCOMPAT_H |
21 | #define VPE_NETCOMPAT_H |
22 | |
22 | |
23 | #include "config.h" |
23 | #include <sys/types.h> |
24 | |
|
|
25 | #include <sys/socket.h> |
24 | #include <sys/socket.h> |
26 | #ifdef HAVE_NETINET_IN_H |
25 | #ifdef HAVE_NETINET_IN_H |
27 | # include <netinet/in.h> |
26 | # include <netinet/in.h> |
28 | #endif |
27 | #endif |
29 | #ifdef HAVE_ARPA_INET_H |
28 | #ifdef HAVE_ARPA_INET_H |
… | |
… | |
35 | #endif |
34 | #endif |
36 | #ifdef HAVE_NETINET_IP_H |
35 | #ifdef HAVE_NETINET_IP_H |
37 | # include <netinet/ip.h> |
36 | # include <netinet/ip.h> |
38 | #endif |
37 | #endif |
39 | |
38 | |
40 | #ifndef IPTOS_LOWCOST |
39 | #ifndef IPTOS_MINCOST |
41 | # define IPTOS_LOWCOST 0x02 |
40 | # define IPTOS_MINCOST 0x02 |
42 | #endif |
41 | #endif |
43 | #ifndef IPTOS_RELIABILITY |
42 | #ifndef IPTOS_RELIABILITY |
44 | # define IPTOS_RELIABILITY 0x04 |
43 | # define IPTOS_RELIABILITY 0x04 |
45 | #endif |
44 | #endif |
46 | #ifndef IPTOS_THROUGHPUT |
45 | #ifndef IPTOS_THROUGHPUT |