libcluon
0.0.148
UDPPacketSizeConstraints.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017-2018 Christian Berger
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
#ifndef CLUON_UDPPACKETSIZECONSTRAINTS_H
10
#define CLUON_UDPPACKETSIZECONSTRAINTS_H
11
12
#include <cstdint>
13
14
// clang-format off
15
namespace
cluon
{
16
enum class
UDPPacketSizeConstraints
: uint16_t {
17
SIZE_IPv4_HEADER
= 20,
18
SIZE_UDP_HEADER
= 8,
19
MAX_SIZE_UDP_PACKET
= 0xFFFF, };
20
}
21
// clang-format on
22
23
#endif
cluon
Definition:
cluon.hpp:65
cluon::UDPPacketSizeConstraints
UDPPacketSizeConstraints
Definition:
UDPPacketSizeConstraints.hpp:16
cluon::UDPPacketSizeConstraints::SIZE_IPv4_HEADER
cluon::UDPPacketSizeConstraints::SIZE_UDP_HEADER
cluon::UDPPacketSizeConstraints::MAX_SIZE_UDP_PACKET
libcluon
include
cluon
UDPPacketSizeConstraints.hpp
Generated on Fri Mar 22 2024 10:44:38 for libcluon by
1.8.13