29 os <<
"MPLS Header: \n" 30 <<
" label : " << p->label() <<
"\n" 31 <<
" tc : " << p->tc() <<
"\n" 32 <<
" bottom of stack : " << p->s() <<
"\n" 33 <<
" Time-to-live : " << unsigned(p->ttl()) <<
"\n";
static void finalize(packet p)
static factory_t nextPacketType(packet p)
SENF_PACKET_REGISTRY_REGISTER(senf::EtherTypes, senf::MPLSPacketType::etherType, senf::MPLSPacket)
static void dump(packet p, std::ostream &os)
Dump given MPLSPacket in readable form to given output stream.
static factory_t factory()
SENF_PACKET_INSTANTIATE_TEMPLATE(senf::MPLSPacket)
static constexpr std::uint16_t etherType
Factory const * factory_t