|
INET Framework for OMNeT++/OMNEST
|
#include <PcapRecorder.h>
Public Member Functions | |
| virtual | ~IHelper () |
| virtual PcapLinkType | protocolToLinkType (const Protocol *protocol) const =0 |
| returns pcapLinkType for given protocol or returns LINKTYPE_INVALID. Protocol storable as or convertable to pcapLinkType. More... | |
| virtual bool | matchesLinkType (PcapLinkType pcapLinkType, const Protocol *protocol) const =0 |
| returns true when the protocol storable as pcapLinkType without conversion. More... | |
| virtual Packet * | tryConvertToLinkType (const Packet *packet, PcapLinkType pcapLinkType, const Protocol *protocol) const =0 |
| Create a new Packet or return nullptr. The new packet contains the original packet converted to pcapLinkType format. More... | |
|
pure virtual |
returns true when the protocol storable as pcapLinkType without conversion.
Implemented in inet::AckingMacToEthernetPcapRecorderHelper.
|
pure virtual |
returns pcapLinkType for given protocol or returns LINKTYPE_INVALID. Protocol storable as or convertable to pcapLinkType.
Implemented in inet::AckingMacToEthernetPcapRecorderHelper.
|
pure virtual |
Create a new Packet or return nullptr. The new packet contains the original packet converted to pcapLinkType format.
Implemented in inet::AckingMacToEthernetPcapRecorderHelper.