Searched refs:socket_type (Results 1 – 4 of 4) sorted by relevance
419 auto socket_type = type; in CreateSocket() local422 socket_type |= SOCK_CLOEXEC; in CreateSocket()424 auto sock = ::socket(domain, socket_type, protocol); in CreateSocket()
1006 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_server_main() local1473 socket_type = SOCK_DGRAM; in s_server_main()1481 socket_type = SOCK_DGRAM; in s_server_main()1489 socket_type = SOCK_DGRAM; in s_server_main()1610 if (www && socket_type == SOCK_DGRAM) { in s_server_main()1615 if (dtlslisten && socket_type != SOCK_DGRAM) { in s_server_main()1621 if (stateless && socket_type != SOCK_STREAM) { in s_server_main()1627 if (socket_family == AF_UNIX && socket_type != SOCK_STREAM) { in s_server_main()1641 if (socket_type != SOCK_DGRAM) { in s_server_main()1646 socket_type = SOCK_STREAM; in s_server_main()[all …]
920 int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0; in s_client_main() local1306 socket_type = SOCK_DGRAM; in s_client_main()1315 socket_type = SOCK_DGRAM; in s_client_main()1324 socket_type = SOCK_DGRAM; in s_client_main()1602 if (socket_family == AF_UNIX && socket_type != SOCK_STREAM) { in s_client_main()1611 if (socket_type != SOCK_DGRAM) { in s_client_main()1616 socket_type = SOCK_STREAM; in s_client_main()2033 socket_type, protocol) == 0) { in s_client_main()
772 int socket_type, in swrap_packet_init() argument794 switch (socket_type) { in swrap_packet_init()870 switch (socket_type) { in swrap_packet_init()