Home
last modified time | relevance | path

Searched refs:potential_sid (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/talk/app/webrtc/
Ddatachannel.cc48 int potential_sid = (role == rtc::SSL_CLIENT) ? 0 : 1; in AllocateSid() local
49 while (!IsSidAvailable(potential_sid)) { in AllocateSid()
50 potential_sid += 2; in AllocateSid()
51 if (potential_sid > static_cast<int>(cricket::kMaxSctpSid)) { in AllocateSid()
56 *sid = potential_sid; in AllocateSid()
57 used_sids_.insert(potential_sid); in AllocateSid()