TunnelHeaderPacket.cc
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 #include "TunnelHeaderPacket.hh"
15 
16 // Custom includes
17 
18 #define prefix_
19 
22 
24 {
25  os << "TunnelHeader Header: \n"
26  << " reserved : " << p->reserved() << std::endl
27  << " sequence number : " << p->sequenceNumber() << std::endl;
28 }
29 
31 #undef prefix_
SENF_PACKET_INSTANTIATE_TEMPLATE(senf::emu::TunnelHeaderPacket)
static void dump(packet p, std::ostream &os)
Dump given TunnelHeaderPacket in readable form to given output stream.
#define prefix_