Home
last modified time | relevance | path

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

/external/webrtc/pc/
Dsctp_data_channel.cc95 int potential_sid = (role == rtc::SSL_CLIENT) ? 0 : 1; in AllocateSid() local
96 while (!IsSidAvailable(potential_sid)) { in AllocateSid()
97 potential_sid += 2; in AllocateSid()
98 if (potential_sid > static_cast<int>(cricket::kMaxSctpSid)) { in AllocateSid()
103 *sid = potential_sid; in AllocateSid()
104 used_sids_.insert(potential_sid); in AllocateSid()