InternalThroughputTestPacket.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
14 #ifndef HH_WiBACK_DataPlane_Packets_InternalThroughputTestPacket_
15 #define HH_WiBACK_DataPlane_Packets_InternalThroughputTestPacket_ 1
16 
17 // Custom includes
18 #include <senf/Packets/Packets.hh>
19 
20 //-/////////////////////////////////////////////////////////////////////////////////////////////////
21 
22 namespace emu {
23 
25  {
26 # include SENF_FIXED_PARSER()
33  };
34 
36  : public senf::PacketTypeBase,
37  public senf::PacketTypeMixin<InternalThroughputTestPacketType>
38  {
42 
43  using mixin::nextPacketRange;
44  using mixin::initSize;
45  using mixin::init;
46 
47  static void dump(packet p, std::ostream & os);
48 
49  static const std::uint16_t extType = 0x60;
50  };
51 
53 
54 };
55 
56 //-/////////////////////////////////////////////////////////////////////////////////////////////////
57 //#include "InternalThroughputTestPacket.cci"
58 //#include "InternalThroughputTestPacket.ct"
59 //#include "InternalThroughputTestPacket.cti"
60 #endif
senf::UInt32Parser numPkts() const
senf::ConcretePacket< InternalThroughputTestPacketType > packet
#define SENF_PARSER_FIELD(name, type)
#define SENF_PARSER_FINALIZE(name)
senf::UInt32Parser sessionId() const
senf::PacketTypeMixin< InternalThroughputTestPacketType > mixin
void dump(std::ostream &os, DirectoryNode &dir=root())
InternalThroughputTestPacketParser parser
senf::ConcretePacket< InternalThroughputTestPacketType > InternalThroughputTestPacket
senf::UInt64Parser magic() const
senf::UInt64Parser timestamp() const
senf::UInt32Parser seqNo() const