Searched refs:socket_type (Results 1 – 5 of 5) 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
824 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_client_main() local1208 socket_type = SOCK_STREAM; in s_client_main()1216 socket_type = SOCK_STREAM; in s_client_main()1224 socket_type = SOCK_STREAM; in s_client_main()1232 socket_type = SOCK_STREAM; in s_client_main()1240 socket_type = SOCK_STREAM; in s_client_main()1248 socket_type = SOCK_DGRAM; in s_client_main()1257 socket_type = SOCK_DGRAM; in s_client_main()1266 socket_type = SOCK_DGRAM; in s_client_main()1578 if (socket_family == AF_UNIX && socket_type != SOCK_STREAM) { in s_client_main()[all …]
1007 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_server_main() local1501 socket_type = SOCK_DGRAM; in s_server_main()1509 socket_type = SOCK_DGRAM; in s_server_main()1517 socket_type = SOCK_DGRAM; in s_server_main()1664 if (www && socket_type == SOCK_DGRAM) { in s_server_main()1669 if (dtlslisten && socket_type != SOCK_DGRAM) { in s_server_main()1674 if (rev && socket_type == SOCK_DGRAM) { in s_server_main()1680 if (stateless && socket_type != SOCK_STREAM) { in s_server_main()1686 if (socket_family == AF_UNIX && socket_type != SOCK_STREAM) { in s_server_main()1700 if (socket_type != SOCK_DGRAM) { in s_server_main()[all …]
772 int socket_type, in swrap_packet_init() argument794 switch (socket_type) { in swrap_packet_init()870 switch (socket_type) { in swrap_packet_init()