Lines Matching refs:second
170 if (it->second->GetSocket() == s) {
171 return it->second;
177 return it->second;
213 ATNetworkTool::CloseSocket(it->second->GetSocket());
214 delete it->second;
225 if (it->second.size() > 0) {
226 ATNetworkTool::CloseSocket(it->second[0]->GetListeningSocket());
228 PortForwardRequestList::iterator it2 = it->second.begin();
229 for (; it2 != it->second.end(); it2++) {
281 if (it->second.size() > 0) {
282 socket = it->second[0]->GetListeningSocket();
283 PortForwardRequestList::iterator it2 = it->second.begin();
285 for (; it2 != it->second.end(); it2++) {
423 PortForwardRequestList::iterator it2 = it->second.begin();
425 for (; it2 != it->second.end(); it2++) {
500 if (it->second.size() > 0) {
501 SOCKET serverSocket = it->second[0]->GetListeningSocket();
516 if ((it->second->GetStatus() == Channel::OPEN) &&
517 (it->second->GetTxWindow() > 0)) {
518 SOCKET socket = it->second->GetSocket();
566 if (it->second.size() > 0) {
567 SOCKET serverSocket = it->second[0]->GetListeningSocket();
675 if (it->second == cx) {
711 PortForwardRequestList::iterator it2 = it->second.begin();
712 for (; it2 != it->second.end(); it2++) {
723 it->second.erase(it2);
725 if (it->second.size() == 0) {
938 it->second->SetStatus(Channel::OPEN);
939 it->second->SetRecipientChannel(chOpenSuccMsg->SenderChannel);
940 it->second->AddBytesTxWindow(chOpenSuccMsg->InitialWindow);
988 it->second->AddBytesTxWindow(channelWindowMessage->BytesToAdd);
1166 PortForwardRequestList::iterator it2 = it->second.begin();
1167 for (; it2 != it->second.end(); it2++) {
1295 clPFwdReq = _closeMChannel(it->second);
1312 Channel *c = it->second;
1348 if ((it->second->GetStatus() != Channel::OPEN) &&
1349 (it->second->GetStatus() != Channel::WAITING_CLOSE)) {
1353 if (it->second->GetRxWindow() < chDMsg->DataLength) {
1358 int count = _send(it->second->GetSocket(), (char *)chDMsg->Data,
1362 it->second->GetSocket());
1366 clPFwdReq = _closeMChannel(it->second);
1373 _lme.ChannelWindowAdjust(it->second->GetRecipientChannel(), chDMsg->DataLength);
1444 remIt = find_if(startIt, endIt, bind2nd(ptr_fun(_compareDNSSuffix), locIt->second));
1458 for (PortForwardRequestList::iterator it2 = it->second.begin();
1459 it2 != it->second.end(); it2++) {