Searched refs:socket_type (Results 1 – 7 of 7) sorted by relevance
325 auto socket_type = type; in CreateSocket() local328 socket_type |= SOCK_CLOEXEC; in CreateSocket()330 auto sock = ::socket(domain, socket_type, protocol); in CreateSocket()
2 socket_type = stream
889 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_client_main() local1286 socket_type = SOCK_STREAM; in s_client_main()1295 socket_type = SOCK_STREAM; in s_client_main()1304 socket_type = SOCK_STREAM; in s_client_main()1313 socket_type = SOCK_STREAM; in s_client_main()1322 socket_type = SOCK_STREAM; in s_client_main()1331 socket_type = SOCK_DGRAM; in s_client_main()1341 socket_type = SOCK_DGRAM; in s_client_main()1351 socket_type = SOCK_DGRAM; in s_client_main()1361 socket_type = SOCK_DGRAM; in s_client_main()[all …]
1044 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_server_main() local1545 socket_type = SOCK_DGRAM; in s_server_main()1553 socket_type = SOCK_DGRAM; in s_server_main()1561 socket_type = SOCK_DGRAM; in s_server_main()1729 if (www && socket_type == SOCK_DGRAM) { in s_server_main()1734 if (dtlslisten && socket_type != SOCK_DGRAM) { in s_server_main()1739 if (rev && socket_type == SOCK_DGRAM) { in s_server_main()1745 if (tfo && socket_type != SOCK_STREAM) { in s_server_main()1750 if (stateless && socket_type != SOCK_STREAM) { in s_server_main()1756 if (socket_family == AF_UNIX && socket_type != SOCK_STREAM) { in s_server_main()[all …]
1099 int socket_type = 0; in getaddrinfo() local1129 socket_type = hint->ai_socktype; in getaddrinfo()1254 if (socket_type != 0 && ai->ai_socktype == 0) in getaddrinfo()1256 ai->ai_socktype = socket_type; in getaddrinfo()
772 int socket_type, in swrap_packet_init() argument794 switch (socket_type) { in swrap_packet_init()870 switch (socket_type) { in swrap_packet_init()
404 // type: socket_type = 0x2 (8 bytes)