• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/classic/

Lines Matching refs:m_endpoint

273   socket->m_endpoint                  = NULL ;
297 if (socket->m_endpoint != kOTInvalidEndpointRef)
324 if (socket->m_endpoint != kOTInvalidEndpointRef )
326 err = OTSndOrderlyDisconnect( socket->m_endpoint ) ;
331 err = OTRcvOrderlyDisconnect( socket->m_endpoint ) ;
332 err = OTUnbind( socket->m_endpoint ) ;
333 err = OTCloseProvider( socket->m_endpoint ) ;
334 socket->m_endpoint = kOTInvalidEndpointRef ;
368 if ((socket->m_endpoint != kOTInvalidEndpointRef && !socket->m_server))
421 if (socket->m_endpoint == kOTInvalidEndpointRef)
487 if (sck->m_endpoint != kOTInvalidEndpointRef )
508 sck->m_endpoint = socket(sck->m_local->m_realfamily, SOCK_STREAM, 0);
509 socket_set_ref( sck->m_endpoint , (unsigned long) &gMacNetEvents , (unsigned long) sck ) ;
510 if (sck->m_endpoint == kOTInvalidEndpointRef)
516 ioctl(sck->m_endpoint, FIONBIO, &arg);
523 if ((bind(sck->m_endpoint, sck->m_local->m_addr, sck->m_local->m_len) != 0) ||
524 (getsockname(sck->m_endpoint,
527 (listen(sck->m_endpoint, 5) != 0))
529 close(sck->m_endpoint);
530 sck->m_endpoint = -1;
560 if (socket->m_endpoint == kOTInvalidEndpointRef || !socket->m_server)
585 connection->m_endpoint = accept(socket->m_endpoint, &from, (WX_SOCKLEN_T *) &fromlen);
588 if (connection->m_endpoint == kOTInvalidEndpointRef )
623 ioctl(connection->m_endpoint, FIONBIO, &arg);
647 if (sck->m_endpoint != kOTInvalidEndpointRef )
668 sck->m_endpoint = socket(sck->m_local->m_realfamily, SOCK_DGRAM, 0);
669 socket_set_ref( sck->m_endpoint , (unsigned long) &gMacNetEvents , (unsigned long) sck ) ;
671 if (sck->m_endpoint == kOTInvalidEndpointRef )
679 ioctl(sck->m_endpoint, FIONBIO, &arg);
688 if ((bind(sck->m_endpoint, sck->m_local->m_addr, sck->m_local->m_len) != 0) ||
689 (getsockname(sck->m_endpoint,
693 close(sck->m_endpoint);
694 sck->m_endpoint = -1;
739 if (sck->m_endpoint != kOTInvalidEndpointRef )
758 sck->m_endpoint =
761 sck->m_endpoint =
764 if ( sck->m_endpoint == kOTInvalidEndpointRef || err != kOTNoError )
766 sck->m_endpoint = kOTInvalidEndpointRef ;
770 err = OTBind( sck->m_endpoint , nil , nil ) ;
775 SetDefaultEndpointModes( sck->m_endpoint , sck ) ;
778 ioctl(sck->m_endpoint, FIONBIO, &arg);
786 err = OTConnect( sck->m_endpoint , &peer , nil ) ;
799 OTSndOrderlyDisconnect( sck->m_endpoint ) ;
800 sck->m_endpoint = kOTInvalidEndpointRef ;
810 getsockopt(sck->m_endpoint, SOL_SOCKET, SO_ERROR, (void*) &error, &len);
833 OTSndOrderlyDisconnect( sck->m_endpoint ) ;
835 sck->m_endpoint = kOTInvalidEndpointRef ;
855 if (socket->m_endpoint == kOTInvalidEndpointRef || socket->m_server)
888 if (socket->m_endpoint == kOTInvalidEndpointRef || socket->m_server)
935 state = OTGetEndpointState(socket->m_endpoint);
940 OTCountDataBytes( socket->m_endpoint , &sz ) ;
1077 OTCountDataBytes( socket->m_endpoint , &sz ) ;
1080 res = OTRcv( socket->m_endpoint , buffer , size , &flags ) ;
1090 OTCountDataBytes( socket->m_endpoint , &sz ) ;
1111 ret = recvfrom(socket->m_endpoint, buffer, size, 0, &from, (WX_SOCKLEN_T *) &fromlen);
1143 res = OTSnd( socket->m_endpoint , (void*) buffer , size , flags ) ;
1169 ret = sendto(socket->m_endpoint, buffer, size, 0, addr, len);
1430 state = OTGetEndpointState(socket->m_endpoint);
1434 OTCountDataBytes( socket->m_endpoint , &sz ) ;
1474 state = OTGetEndpointState(socket->m_endpoint);
1476 OTCountDataBytes( socket->m_endpoint , &sz ) ;
1508 state = OTGetEndpointState(socket->m_endpoint);
1566 * destroyed) and for safety, check that the m_endpoint field
1588 OTRcvConnect( socket->m_endpoint , &retCall ) ;