1 | /* |
1 | /* |
2 | netcompat.h -- network compatibility header |
2 | netcompat.h -- network compatibility header |
|
|
3 | Copyright (C) 2003 Marc Lehmann <pcg@goof.com> |
3 | |
4 | |
4 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
6 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
34 | #endif |
35 | #endif |
35 | #ifdef HAVE_NETINET_IP_H |
36 | #ifdef HAVE_NETINET_IP_H |
36 | # include <netinet/ip.h> |
37 | # include <netinet/ip.h> |
37 | #endif |
38 | #endif |
38 | |
39 | |
39 | #ifndef IPTOS_LOWCOST |
40 | #ifndef IPTOS_MINCOST |
40 | # define IPTOS_LOWCOST 0x02 |
41 | # define IPTOS_MINCOST 0x02 |
41 | #endif |
42 | #endif |
42 | #ifndef IPTOS_RELIABILITY |
43 | #ifndef IPTOS_RELIABILITY |
43 | # define IPTOS_RELIABILITY 0x04 |
44 | # define IPTOS_RELIABILITY 0x04 |
44 | #endif |
45 | #endif |
45 | #ifndef IPTOS_THROUGHPUT |
46 | #ifndef IPTOS_THROUGHPUT |