EMANE
1.2.1
|
#include <cstdint>
Go to the source code of this file.
Classes | |
class | EMANE::NetAdapterHeader |
NetAdapter message header. More... | |
struct | EMANE::NetAdapterDataMessage |
data shared between network adapter and nem. More... | |
struct | EMANE::NetAdapterControlMessage |
information shared between network adapter and nem. More... | |
Namespaces | |
EMANE | |
Functions | |
struct EMANE::ControlMessageHeader | EMANE::__attribute__ ((packed)) |
NetAdapterHeader * | EMANE::NetAdapterHeaderToHost (NetAdapterHeader *pMsg) |
NetAdapterHeader * | EMANE::NetAdapterHeaderToNet (NetAdapterHeader *pMsg) |
NetAdapterControlMessage * | EMANE::NetAdapterControlMessageToHost (NetAdapterControlMessage *ctrl) |
NetAdapterControlMessage * | EMANE::NetAdapterControlMessageToNet (NetAdapterControlMessage *ctrl) |
NetAdapterDataMessage * | EMANE::NetAdapterDataMessageToHost (NetAdapterDataMessage *pkt) |
converts netadapter data message from network to host byte order. More... | |
NetAdapterDataMessage * | EMANE::NetAdapterDataMessageToNet (NetAdapterDataMessage *pkt) |
converts netadapter data message from host to network byte order. More... | |
Variables | |
const std::uint16_t | EMANE::NETADAPTER_DATA_MSG = 1 |
const std::uint16_t | EMANE::NETADAPTER_CTRL_MSG = 2 |
std::uint16_t | u16Id_ |
std::uint32_t | u32Length_ |
std::uint8_t | data_ [0] |
std::uint16_t | u16Src_ |
std::uint16_t | u16Dst_ |
std::uint32_t | u32DataLen_ |
std::uint32_t | u32CtrlLen_ |
std::uint8_t | u8Priority_ |
const std::uint16_t | EMANE::NETADAPTER_BROADCAST_ADDRESS = 0xFFFF |
definition of the broadcast address used between network adapter and nem. More... | |
std::uint8_t data_[0] |
Pointer to message payload
Definition at line 45 of file netadaptermessage.h.
std::uint16_t u16Dst_ |
Definition at line 81 of file netadaptermessage.h.
std::uint16_t u16Id_ |
Event id
Definition at line 43 of file netadaptermessage.h.
std::uint16_t u16Src_ |
Definition at line 80 of file netadaptermessage.h.
std::uint32_t u32CtrlLen_ |
Definition at line 83 of file netadaptermessage.h.
std::uint32_t u32DataLen_ |
Definition at line 82 of file netadaptermessage.h.
std::uint32_t u32Length_ |
Total message length in bytes
Definition at line 44 of file netadaptermessage.h.
std::uint8_t u8Priority_ |
Definition at line 84 of file netadaptermessage.h.