56 void EMANE::NEMNetworkAdapter::doProcessPacketMessage(
const PacketInfo & packetInfo,
57 const void * pPacketData,
68 void EMANE::NEMNetworkAdapter::doProcessControlMessage(
const ControlMessages & msgs)
A Packet class that allows upstream processing to strip layer headers as the packet travels up the st...
std::list< const ControlMessage * > ControlMessages
void sendPacketMessage(const PacketInfo &packetInfo, const void *pPacketData, size_t packetLength, const ControlMessages &msgs)
void sendDownstreamControl(const ControlMessages &msgs)
void sendControlMessage(const ControlMessages &msgs)
Store source, destination, creation time and priority information for a packet.
NEMNetworkAdapter(NEMId id)
const PacketInfo & getPacketInfo() const
Specialized packet the allows downstream processing to add layer specific headers as the packet trave...
void processUpstreamControl(const ControlMessages &msgs) override
void processUpstreamPacket(UpstreamPacket &pkt, const ControlMessages &msgs) override
void sendDownstreamPacket(DownstreamPacket &pkt, const ControlMessages &msgs=empty)