#include <EthernetFrame.h>
Public Member Functions | |
EthernetFrame () | |
int | GetCrc32 (const std::string &string) |
virtual | ~EthernetFrame () |
Public Attributes | |
bool | correct_crc_ |
struct eh_header | eh_h_ |
Struct of the layer 2 Ethernet header. Includes: source mac, destination mac an protocol type. |
Definition at line 61 of file EthernetFrame.h.
Definition at line 11 of file EthernetFrame.cpp.
EthernetFrame::~EthernetFrame | ( | ) | [virtual] |
Definition at line 18 of file EthernetFrame.cpp.
int EthernetFrame::GetCrc32 | ( | const std::string & | string | ) |
Calculates the Crc32 of the McMaintenanceFrame Is needed to detect corrupt frames caused by transmission errors.
Definition at line 22 of file EthernetFrame.cpp.
Reimplemented in RouteRequest, and McNackFrame.
Definition at line 67 of file EthernetFrame.h.
struct eh_header EthernetFrame::eh_h_ |
Struct of the layer 2 Ethernet header. Includes: source mac, destination mac an protocol type.
Definition at line 66 of file EthernetFrame.h.