DataPacket.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 
17 #ifndef HH_SENF_Packets_DataPacket_
18 #define HH_SENF_Packets_DataPacket_ 1
19 
20 // Custom includes
21 #include "PacketType.hh"
22 #include "Packet.hh"
23 
24 //#include "DataPacket.mpp"
25 //-/////////////////////////////////////////////////////////////////////////////////////////////////
26 
27 namespace senf {
28 
41  {
43  static void dump(packet p, std::ostream & os);
44  };
45 
49 }
50 
51 //-/////////////////////////////////////////////////////////////////////////////////////////////////
52 #endif
53 #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_DataPacket_impl_)
54 #define HH_SENF_Packets_DataPacket_impl_
55 //#include "DataPacket.cci"
56 //#include "DataPacket.ct"
57 //#include "DataPacket.cti"
58 #endif
59 
60 
61 // Local Variables:
62 // mode: c++
63 // fill-column: 100
64 // comment-column: 40
65 // c-file-style: "senf"
66 // indent-tabs-mode: nil
67 // ispell-local-dictionary: "american"
68 // compile-command: "scons -u test"
69 // End:
70 
Generic payload-only packet.
Definition: DataPacket.hh:40
ConcretePacket< DataPacketType > packet
Definition: DataPacket.hh:42
Protocol specific packet handle.
Definition: Packet.hh:87
Helper base-class implementing the PacketType interface.
Definition: PacketType.hh:100
Packet public header.
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(RadiotapPacket)
ConcretePacket< DataPacketType > DataPacket
Generic payload-only packet typedef.
Definition: DataPacket.hh:47
static void dump(packet p, std::ostream &os)
Definition: DataPacket.cc:26
PacketType public header.