EMANE
1.0.1
|
Entry point for packets and crontrol sourced and sinked from the network layer. More...
#include <nemnetworkadapter.h>
Public Member Functions | |
NEMNetworkAdapter (NEMId id) | |
~NEMNetworkAdapter () | |
void | processUpstreamPacket (UpstreamPacket &pkt, const ControlMessages &msgs) override |
void | processUpstreamControl (const ControlMessages &msgs) override |
virtual void | setDownstreamTransport (DownstreamTransport *pDownstreamTransport) |
void | sendDownstreamPacket (DownstreamPacket &pkt, const ControlMessages &msgs=empty) |
void | sendDownstreamControl (const ControlMessages &msgs) |
void | open (const INETAddr &localAddress, const INETAddr &remoteAddress) |
void | close () |
void | processBoundaryMessage (const void *pData, size_t length) |
void | sendPacketMessage (const PacketInfo &packetInfo, const void *pPacketData, size_t packetLength, const ControlMessages &msgs) |
void | sendPacketMessage (const PacketInfo &packetInfo, const Utils::VectorIO &packetIO, size_t overallLength, const ControlMessages &msgs) |
void | sendControlMessage (const ControlMessages &msgs) |
Static Public Attributes | |
static const ControlMessages | empty |
Entry point for packets and crontrol sourced and sinked from the network layer.
Definition at line 50 of file nemnetworkadapter.h.
EMANE::NEMNetworkAdapter::NEMNetworkAdapter | ( | NEMId | id | ) |
Definition at line 37 of file nemnetworkadapter.cc.
EMANE::NEMNetworkAdapter::~NEMNetworkAdapter | ( | ) |
Definition at line 40 of file nemnetworkadapter.cc.
|
inherited |
Definition at line 100 of file boundarymessagemanager.cc.
|
inherited |
BoundaryMessageManagerException |
Definition at line 61 of file boundarymessagemanager.cc.
|
inherited |
|
overridevirtual |
Process upstream control message
msgs | reference to the ControlMessages |
Implements EMANE::UpstreamTransport.
Definition at line 51 of file nemnetworkadapter.cc.
|
overridevirtual |
Process upstream packet
pkt | reference to the UpstreamPacket to process |
msgs | optional reference to the ControlMessages |
Implements EMANE::UpstreamTransport.
Definition at line 42 of file nemnetworkadapter.cc.
|
inherited |
Definition at line 187 of file boundarymessagemanager.cc.
|
inlineinherited |
Send downstream control message
msgs | reference to the ControlMessages |
Definition at line 44 of file upstreamtransport.inl.
|
inlineinherited |
Send downsteam packet
pkt | reference to the DownstreamPacket to process |
msgs | optional reference to the ControlMessages |
Definition at line 37 of file upstreamtransport.inl.
|
inherited |
Definition at line 114 of file boundarymessagemanager.cc.
|
inherited |
Definition at line 126 of file boundarymessagemanager.cc.
|
inlinevirtualinherited |
Set the downstream transport.
pDownstreamTransport | Pointer to the downstream transport of this upstream transport. |
Reimplemented in EMANE::NEMStatefulLayer, EMANE::PHYLayer, EMANE::MACLayer, EMANE::ShimLayer, and EMANE::TransportLayer.
Definition at line 82 of file upstreamtransport.h.
|
staticinherited |
Definition at line 106 of file upstreamtransport.h.