KallistiOS
git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
udplite.h
Go to the documentation of this file.
1
/* KallistiOS ##version##
2
3
netinet/udplite.h
4
Copyright (C) 2014, 2023 Lawrence Sebald
5
6
*/
7
8
/** \file netinet/udplite.h
9
\brief Definitions for UDP-Lite.
10
\ingroup networking_udp
11
12
This file contains definitions related to UDP-Lite, a version of UDP that
13
allows for partial checksum coverage (rather than requiring that either all
14
or none of the packet is covered as does UDP).
15
16
UDP-Lite is described in RFC 3828.
17
18
\author Lawrence Sebald
19
*/
20
21
#ifndef __NETINET_UDPLITE_H
22
#define __NETINET_UDPLITE_H
23
24
#include <sys/cdefs.h>
25
26
__BEGIN_DECLS
27
28
/** \defgroup udplite_opts UDP-Lite Options
29
\brief UDP-Lite 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_UDPLITE level value.
34
35
\see so_opts
36
\see ipv4_opts
37
\see ipv6_opts
38
\see udp_opts
39
\see tcp_opts
40
41
@{
42
*/
43
44
#define UDPLITE_SEND_CSCOV 26
/**< \brief Sending checksum coverage. */
45
#define UDPLITE_RECV_CSCOV 27
/**< \brief Receiving checksum coverage. */
46
47
/** @} */
48
49
__END_DECLS
50
51
#endif
/* !__NETINET_UDPLITE_H */
include
netinet
udplite.h
Generated by
1.11.0