KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
tcp.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 netinet/tcp.h
4 Copyright (C) 2023 Lawrence Sebald
5
6*/
7
8/** \file netinet/tcp.h
9 \brief Definitions for the Transmission Control Protocol.
10 \ingroup networking_tcp
11
12 This file contains the standard definitions (as directed by the Open Group
13 Base Specifications Issue 7, 2018 Edition aka POSIX 2017) for functionality
14 of the Transmission Control Protocol.
15 This does is not guaranteed to have everything that one might have in a
16 fully-standard compliant implementation of the POSIX standard.
17
18 \author Lawrence Sebald
19*/
20
21#ifndef __NETINET_TCP_H
22#define __NETINET_TCP_H
23
24#include <sys/cdefs.h>
25
26__BEGIN_DECLS
27
28/** \defgroup tcp_opts Options
29 \brief TCP protocol level options
30 \ingroup networking_tcp
31
32 These are the various socket-level options that can be accessed with the
33 setsockopt() and getsockopt() functions for the IPPROTO_TCP level value.
34
35 All options listed here are at least guaranteed to be accepted by
36 setsockopt() and getsockopt() for IPPROTO_TCP, however they are not
37 guaranteed to be implemented in any meaningful way.
38
39 \see so_opts
40 \see ipv4_opts
41 \see ipv6_opts
42 \see udp_opts
43 \see udplite_opts
44
45 @{
46*/
47
48#define TCP_NODELAY 1 /**< \brief Don't delay to coalesce. */
49
50/** @} */
51
52__END_DECLS
53
54#endif /* !__NETINET_TCP_H */