OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 #include "webrtc/base/physicalsocketserver.h" | 10 #include "webrtc/base/physicalsocketserver.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "webrtc/base/arraysize.h" | 43 #include "webrtc/base/arraysize.h" |
44 #include "webrtc/base/basictypes.h" | 44 #include "webrtc/base/basictypes.h" |
45 #include "webrtc/base/byteorder.h" | 45 #include "webrtc/base/byteorder.h" |
46 #include "webrtc/base/common.h" | 46 #include "webrtc/base/common.h" |
47 #include "webrtc/base/logging.h" | 47 #include "webrtc/base/logging.h" |
48 #include "webrtc/base/networkmonitor.h" | 48 #include "webrtc/base/networkmonitor.h" |
49 #include "webrtc/base/timeutils.h" | 49 #include "webrtc/base/timeutils.h" |
50 #include "webrtc/base/winping.h" | 50 #include "webrtc/base/winping.h" |
51 #include "webrtc/base/win32socketinit.h" | 51 #include "webrtc/base/win32socketinit.h" |
52 | 52 |
53 // stm: this will tell us if we are on OSX | |
54 #ifdef HAVE_CONFIG_H | |
55 #include "config.h" | |
56 #endif | |
57 | |
58 #if defined(WEBRTC_POSIX) | 53 #if defined(WEBRTC_POSIX) |
59 #include <netinet/tcp.h> // for TCP_NODELAY | 54 #include <netinet/tcp.h> // for TCP_NODELAY |
60 #define IP_MTU 14 // Until this is integrated from linux/in.h to netinet/in.h | 55 #define IP_MTU 14 // Until this is integrated from linux/in.h to netinet/in.h |
61 typedef void* SockOptArg; | 56 typedef void* SockOptArg; |
62 #endif // WEBRTC_POSIX | 57 #endif // WEBRTC_POSIX |
63 | 58 |
64 #if defined(WEBRTC_WIN) | 59 #if defined(WEBRTC_WIN) |
65 typedef char* SockOptArg; | 60 typedef char* SockOptArg; |
66 #endif | 61 #endif |
67 | 62 |
(...skipping 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1623 break; | 1618 break; |
1624 } | 1619 } |
1625 } | 1620 } |
1626 | 1621 |
1627 // Done | 1622 // Done |
1628 return true; | 1623 return true; |
1629 } | 1624 } |
1630 #endif // WEBRTC_WIN | 1625 #endif // WEBRTC_WIN |
1631 | 1626 |
1632 } // namespace rtc | 1627 } // namespace rtc |
OLD | NEW |