Searched refs:socket_type (Results 1 – 5 of 5) sorted by relevance
2 socket_type = stream
437 auto socket_type = type; in CreateSocket() local440 socket_type |= SOCK_CLOEXEC; in CreateSocket()442 auto sock = ::socket(domain, socket_type, protocol); in CreateSocket()
1287 socket_type = SOCK_STREAM; in s_client_main()1295 socket_type = SOCK_STREAM; in s_client_main()1303 socket_type = SOCK_STREAM; in s_client_main()1311 socket_type = SOCK_STREAM; in s_client_main()1319 socket_type = SOCK_STREAM; in s_client_main()1327 socket_type = SOCK_DGRAM; in s_client_main()1336 socket_type = SOCK_DGRAM; in s_client_main()1345 socket_type = SOCK_DGRAM; in s_client_main()1641 if (socket_type != SOCK_DGRAM) { in s_client_main()1646 socket_type = SOCK_STREAM; in s_client_main()[all …]
1014 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_server_main() local1481 socket_type = SOCK_DGRAM; in s_server_main()1489 socket_type = SOCK_DGRAM; in s_server_main()1497 socket_type = SOCK_DGRAM; in s_server_main()1618 if (www && socket_type == SOCK_DGRAM) { in s_server_main()1623 if (dtlslisten && socket_type != SOCK_DGRAM) { in s_server_main()1629 if (stateless && socket_type != SOCK_STREAM) { in s_server_main()1635 if (socket_family == AF_UNIX && socket_type != SOCK_STREAM) { in s_server_main()1649 if (socket_type != SOCK_DGRAM) { in s_server_main()1654 socket_type = SOCK_STREAM; 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()