]> git.ipfire.org Git - thirdparty/gcc.git/blame - libphobos/libdruntime/core/sys/posix/netinet/tcp.d
libphobos: Merge upstream druntime 94686651
[thirdparty/gcc.git] / libphobos / libdruntime / core / sys / posix / netinet / tcp.d
CommitLineData
b4c522fa
IB
1/**
2 * D header file for POSIX.
3 *
4 * Copyright: Copyright Sean Kelly 2005 - 2009.
5 * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
6 * Authors: Sean Kelly
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
8 */
9
10/* Copyright Sean Kelly 2005 - 2009.
11 * Distributed under the Boost Software License, Version 1.0.
12 * (See accompanying file LICENSE or copy at
13 * http://www.boost.org/LICENSE_1_0.txt)
14 */
15module core.sys.posix.netinet.tcp;
16
17private import core.sys.posix.config;
18
19version (OSX)
20 version = Darwin;
21else version (iOS)
22 version = Darwin;
23else version (TVOS)
24 version = Darwin;
25else version (WatchOS)
26 version = Darwin;
27
28version (Posix):
29extern (C):
30
31//
32// Required
33//
34/*
35TCP_NODELAY
36*/
37
38version (CRuntime_Glibc)
39{
40 enum TCP_NODELAY = 1;
41}
42else version (Darwin)
43{
44 enum TCP_NODELAY = 1;
45}
46else version (FreeBSD)
47{
48 enum TCP_NODELAY = 1;
49}
50else version (NetBSD)
51{
52 enum TCP_NODELAY = 1;
53}
0234a917
IB
54else version (OpenBSD)
55{
56 enum TCP_NODELAY = 1;
57}
b4c522fa
IB
58else version (DragonFlyBSD)
59{
60 enum TCP_NODELAY = 1;
61}
62else version (Solaris)
63{
64 enum TCP_NODELAY = 1;
65}
66else version (linux)
67{
68 enum TCP_NODELAY = 1;
69}