Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: webrtc/p2p/base/stun.h

Issue 2163403002: Prepare for ICE-renomination (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« webrtc/p2p/base/port.cc ('K') | « webrtc/p2p/base/port.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/stun.h
diff --git a/webrtc/p2p/base/stun.h b/webrtc/p2p/base/stun.h
index c0f5cfdfec58c542bccae76848458467f285495f..566e64640fec619f211763af3c9cb0d89121676c 100644
--- a/webrtc/p2p/base/stun.h
+++ b/webrtc/p2p/base/stun.h
@@ -608,7 +608,8 @@ enum IceAttributeType {
STUN_ATTR_ICE_CONTROLLING = 0x802A, // UInt64
// UInt32. The higher 16 bits are the network ID. The lower 16 bits are the
// network cost.
- STUN_ATTR_NETWORK_INFO = 0xC057
+ STUN_ATTR_NETWORK_INFO = 0xC057,
+ STUN_ATTR_NOMINATION_VALUE = 0xC058
pthatcher1 2016/07/28 22:57:26 How about 0xC001? You nominated it because it's c
honghaiz3 2016/08/03 04:46:57 Done.
};
// RFC 5245-defined errors.
@@ -624,6 +625,7 @@ class IceMessage : public StunMessage {
switch (type) {
case STUN_ATTR_PRIORITY:
case STUN_ATTR_NETWORK_INFO:
+ case STUN_ATTR_NOMINATION_VALUE:
return STUN_VALUE_UINT32;
case STUN_ATTR_USE_CANDIDATE: return STUN_VALUE_BYTE_STRING;
case STUN_ATTR_ICE_CONTROLLED: return STUN_VALUE_UINT64;
« webrtc/p2p/base/port.cc ('K') | « webrtc/p2p/base/port.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698