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
973 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_client_main() local1373 socket_type = SOCK_STREAM; in s_client_main()1382 socket_type = SOCK_STREAM; in s_client_main()1391 socket_type = SOCK_STREAM; in s_client_main()1400 socket_type = SOCK_STREAM; in s_client_main()1409 socket_type = SOCK_STREAM; in s_client_main()1418 socket_type = SOCK_DGRAM; in s_client_main()1428 socket_type = SOCK_DGRAM; in s_client_main()1438 socket_type = SOCK_DGRAM; in s_client_main()1448 socket_type = SOCK_DGRAM; in s_client_main()[all …]
1140 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_server_main() local1649 socket_type = SOCK_DGRAM; in s_server_main()1657 socket_type = SOCK_DGRAM; in s_server_main()1665 socket_type = SOCK_DGRAM; in s_server_main()1833 if (www && socket_type == SOCK_DGRAM) { in s_server_main()1838 if (dtlslisten && socket_type != SOCK_DGRAM) { in s_server_main()1843 if (rev && socket_type == SOCK_DGRAM) { in s_server_main()1849 if (tfo && socket_type != SOCK_STREAM) { in s_server_main()1854 if (stateless && socket_type != SOCK_STREAM) { in s_server_main()1860 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)