webrtc/talk/p2p/client
guoweis@webrtc.org 369a637ac8 Implemented Network::GetBestIP() selection logic as following.
1) return the first global temporary and non-deprecrated ones.
2) if #1 not available, return global one.
3) if #2 not available, use ULA ipv6 as last resort.

ULA stands for unique local address. They are only useful in a private
WebRTC deployment. More detail: http://en.wikipedia.org/wiki/Unique_local_address

BUG=3808

At this point, rule #3 actually won't happen at current
implementation. The reason being that ULA address starting with 0xfc 0r 0xfd will be grouped into its own Network. The result of that is WebRTC will have one extra Network to generate candidates but the lack of rule #3 shouldn't prevent turning on IPv6 since ULA should only be tried in a close deployment anyway.

R=jiayl@webrtc.org

Committed: https://code.google.com/p/webrtc/source/detail?r=7200

Committed: https://code.google.com/p/webrtc/source/detail?r=7201

Review URL: https://webrtc-codereview.appspot.com/31369004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7216 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 22:37:29 +00:00
..
autoportallocator.h (Auto)update libjingle 75683337-> 75695882 2014-09-17 08:08:38 +00:00
basicportallocator.cc Implemented Network::GetBestIP() selection logic as following. 2014-09-17 22:37:29 +00:00
basicportallocator.h Relanding https://code.google.com/p/webrtc/source/detail?r=7093, after it got 2014-09-09 14:38:10 +00:00
connectivitychecker_unittest.cc Implemented Network::GetBestIP() selection logic as following. 2014-09-17 22:37:29 +00:00
connectivitychecker.cc Implemented Network::GetBestIP() selection logic as following. 2014-09-17 22:37:29 +00:00
connectivitychecker.h (Auto)update libjingle 73222930-> 73226398 2014-08-13 17:26:08 +00:00
fakeportallocator.h Implemented Network::GetBestIP() selection logic as following. 2014-09-17 22:37:29 +00:00
httpportallocator.cc (Auto)update libjingle 72097588-> 72159069 2014-07-29 17:36:52 +00:00
httpportallocator.h (Auto)update libjingle 72097588-> 72159069 2014-07-29 17:36:52 +00:00
portallocator_unittest.cc Enable shared socket for TurnPort. 2014-09-10 16:31:34 +00:00
sessionmanagertask.h (Auto)update libjingle 75683337-> 75695882 2014-09-17 08:08:38 +00:00
sessionsendtask.h (Auto)update libjingle 73222930-> 73226398 2014-08-13 17:26:08 +00:00
socketmonitor.cc (Auto)update libjingle 72097588-> 72159069 2014-07-29 17:36:52 +00:00
socketmonitor.h (Auto)update libjingle 73222930-> 73226398 2014-08-13 17:26:08 +00:00