|
INET Framework for OMNeT++/OMNEST
|
Converts between EtherFrame and binary (network byte order) Ethernet header. More...
#include <EthernetSerializer.h>
Public Member Functions | |
| EtherPhySerializer (const char *name=nullptr) | |
Public Member Functions inherited from inet::serializer::SerializerBase | |
| SerializerBase (const char *name=nullptr) | |
| void | serializePacket (const cPacket *pkt, Buffer &b, Context &context) |
| cPacket * | deserializePacket (const Buffer &b, Context &context) |
Protected Member Functions | |
| virtual void | serialize (const cPacket *pkt, Buffer &b, Context &context) override |
| Serializes an EtherFrame for transmission on the wire. More... | |
| virtual cPacket * | deserialize (const Buffer &b, Context &context) override |
| Puts a packet sniffed from the wire into an EtherFrame. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from inet::serializer::SerializerBase | |
| static SerializerBase & | lookupSerializer (const cPacket *pkt, Context &context, ProtocolGroup group, int id) |
| static void | lookupAndSerialize (const cPacket *pkt, Buffer &b, Context &context, ProtocolGroup group, int id, unsigned int maxLength=(unsigned int)(-1)) |
| static SerializerBase & | lookupDeserializer (Context &context, ProtocolGroup group, int id) |
| static cPacket * | lookupAndDeserialize (const Buffer &b, Context &context, ProtocolGroup group, int id, unsigned int maxLength=(unsigned int)(-1)) |
Converts between EtherFrame and binary (network byte order) Ethernet header.
|
inline |
|
overrideprotectedvirtual |
Puts a packet sniffed from the wire into an EtherFrame.
Implements inet::serializer::SerializerBase.
|
overrideprotectedvirtual |
Serializes an EtherFrame for transmission on the wire.
Implements inet::serializer::SerializerBase.