• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libcsc-0.82.3/src/

Lines Matching refs:protocol

196    char*    p_name;     /* official protocol name */
198 int p_proto; /* protocol number */
205 char* s_proto; /* protocol to use */
253 const char* protocol,
260 const char* protocol,
280 if (strcmp(name,"tcp") == 0) /* transmission control protocol */
286 if (strcmp(name,"ucp") == 0) /* user datagram protocol */
325 const char* protocol,
345 ASSERT_RTN (protocol != NULL, "connectSocket: NULL protocol", CSC_BADARG);
383 if ((siePtr=getservbyname((char*)service,(char*)protocol)) != NULL)
410 * Map the protocol name to its protocol number.
412 if ((piePtr=getprotobyname((char*)protocol)) == 0)
414 sprintf (errBuf, "can't make sense of protocol entry %s", protocol);
423 * Use protocol to choose a socket type. NOTE: if protocol is not correct,
427 if (strcmp(protocol,"udp")==0) sType = SOCK_DGRAM;
478 const char* protocol,
495 ASSERT_RTN (protocol != NULL, "passiveSocket: NULL protocol", CSC_BADARG);
516 if ((siePtr=getservbyname((char*)service,(char*)protocol)) != NULL)
541 * Map the protocol name to its protocol number.
543 if ((piePtr=getprotobyname((char*)protocol)) == 0)
545 sprintf (errBuf, "can't make sense of protocol entry %s", protocol);
551 * Use protocol to choose a socket type. NOTE: if protocol is not correct,
555 if (strcmp(protocol,"udp")==0) sType = SOCK_DGRAM;
580 * "A socket is a 5-tuple (protocol, local address, local port,
683 CSC_NOPROT ...... can't make any sense out of the UDP protocol
691 CSCsockConnectTCP() attempts to create a PF_INET (IPv4) protocol
773 CSC_NOPROT ...... can't make any sense out of the UDP protocol
781 CSCsockConnectUDP() attempts to create a PF_INET (IPv4) protocol
866 CSC_NOPROT ...... can't make any sense out of the UDP protocol
878 CSCsockPassiveTCP() attempts to create a PF_INET (IPv4) protocol socket
971 CSC_NOPROT ...... can't make any sense out of the UDP protocol
983 CSCsockPassiveUDP() attempts to create a PF_INET (IPv4) protocol socket