KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
udp.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 netinet/udp.h
4 Copyright (C) 2014, 2023 Lawrence Sebald
5
6*/
7
8/** \file netinet/udp.h
9 \brief Definitions for the User Datagram Protocol.
10 \ingroup networking_udp
11
12 This file contains definitions related to the User Datagram Protocol (UDP).
13 UDP is a connectionless datagram delivery protocol, which provides optional
14 datagram integrity validation.
15
16 UDP is described in RFC 768.
17
18 \author Lawrence Sebald
19*/
20
21#ifndef __NETINET_UDP_H
22#define __NETINET_UDP_H
23
24#include <sys/cdefs.h>
25
26__BEGIN_DECLS
27
28/** \defgroup udp_opts UDP Options
29 \brief UDP protocol level options
30 \ingroup networking_udp
31
32 These are the various socket-level options that can be accessed with the
33 setsockopt() and getsockopt() functions for the IPPROTO_UDP level value.
34
35 \see so_opts
36 \see ipv4_opts
37 \see ipv6_opts
38 \see udplite_opts
39 \see tcp_opts
40
41 @{
42*/
43
44#define UDP_NOCHECKSUM 25 /**< \brief Don't calculate UDP checksums */
45
46/** @} */
47
48__END_DECLS
49
50#endif /* !__NETINET_UDP_H */