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 | 10 |
11 #ifndef WEBRTC_RTC_BASE_NETWORK_H_ | 11 #ifndef WEBRTC_RTC_BASE_NETWORK_H_ |
12 #define WEBRTC_RTC_BASE_NETWORK_H_ | 12 #define WEBRTC_RTC_BASE_NETWORK_H_ |
13 | 13 |
14 #include <stdint.h> | 14 #include <stdint.h> |
15 | 15 |
16 #include <deque> | 16 #include <deque> |
17 #include <map> | 17 #include <map> |
18 #include <memory> | 18 #include <memory> |
19 #include <string> | 19 #include <string> |
20 #include <vector> | 20 #include <vector> |
21 | 21 |
22 #include "webrtc/rtc_base/ipaddress.h" | 22 #include "webrtc/base/ipaddress.h" |
23 #include "webrtc/rtc_base/messagehandler.h" | 23 #include "webrtc/base/networkmonitor.h" |
24 #include "webrtc/rtc_base/networkmonitor.h" | 24 #include "webrtc/base/messagehandler.h" |
25 #include "webrtc/rtc_base/sigslot.h" | 25 #include "webrtc/base/sigslot.h" |
26 | 26 |
27 #if defined(WEBRTC_POSIX) | 27 #if defined(WEBRTC_POSIX) |
28 struct ifaddrs; | 28 struct ifaddrs; |
29 #endif // defined(WEBRTC_POSIX) | 29 #endif // defined(WEBRTC_POSIX) |
30 | 30 |
31 namespace rtc { | 31 namespace rtc { |
32 | 32 |
33 extern const char kPublicIPv4Host[]; | 33 extern const char kPublicIPv4Host[]; |
34 extern const char kPublicIPv6Host[]; | 34 extern const char kPublicIPv6Host[]; |
35 | 35 |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 int preference_; | 425 int preference_; |
426 bool active_ = true; | 426 bool active_ = true; |
427 uint16_t id_ = 0; | 427 uint16_t id_ = 0; |
428 | 428 |
429 friend class NetworkManager; | 429 friend class NetworkManager; |
430 }; | 430 }; |
431 | 431 |
432 } // namespace rtc | 432 } // namespace rtc |
433 | 433 |
434 #endif // WEBRTC_RTC_BASE_NETWORK_H_ | 434 #endif // WEBRTC_RTC_BASE_NETWORK_H_ |
OLD | NEW |