Public Member Functions | Public Attributes
EthernetFrame Class Reference

#include <EthernetFrame.h>

Inheritance diagram for EthernetFrame:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Definition at line 61 of file EthernetFrame.h.


Constructor & Destructor Documentation

Definition at line 11 of file EthernetFrame.cpp.

Definition at line 18 of file EthernetFrame.cpp.


Member Function Documentation

int EthernetFrame::GetCrc32 ( const std::string &  string)

Calculates the Crc32 of the McMaintenanceFrame Is needed to detect corrupt frames caused by transmission errors.

Returns:
the Crc32 checksum of a McMaintenanceFrame.

Definition at line 22 of file EthernetFrame.cpp.


Member Data Documentation

Reimplemented in RouteRequest, and McNackFrame.

Definition at line 67 of file EthernetFrame.h.

Struct of the layer 2 Ethernet header. Includes: source mac, destination mac an protocol type.

Definition at line 66 of file EthernetFrame.h.


The documentation for this class was generated from the following files:


adhoc_communication
Author(s): Guenter Cwioro , Torsten Andre
autogenerated on Thu Aug 27 2015 11:56:40