Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Ethernet.h File Reference

Go to the source code of this file.

Defines

#define MAX_PACKETBURST   13
#define GIGABIT_MAX_BURST_BYTES   8192
#define MAX_ETHERNET_DATA   1500
#define MAX_ETHERNET_FRAME   1518
#define MIN_ETHERNET_FRAME   64
#define GIGABIT_MIN_FRAME_WITH_EXT   512
#define INTERFRAME_GAP_BITS   96
#define ETHERNET_TXRATE   10000000L
#define FAST_ETHERNET_TXRATE   100000000L
#define GIGABIT_ETHERNET_TXRATE   1000000000L
#define SLOT_TIME   (512.0/ETHERNET_TXRATE)
#define GIGABIT_SLOT_TIME   (4096.0/GIGABIT_ETHERNET_TXRATE)
#define MAX_ATTEMPTS   16
#define BACKOFF_RANGE_LIMIT   10
#define JAM_SIGNAL_BYTES   4
#define PREAMBLE_BYTES   7
#define SFD_BYTES   1
#define PAUSE_BITTIME   512
#define ETHER_MAC_FRAME_BYTES   (6+6+2+4)
#define ETHER_LLC_HEADER_LENGTH   (3)
#define ETHER_SNAP_HEADER_LENGTH   (5)
#define ETHER_PAUSE_COMMAND_BYTES   (6)


Define Documentation

#define BACKOFF_RANGE_LIMIT   10
 

Definition at line 37 of file Ethernet.h.

Referenced by EtherMAC::handleRetransmission().

#define ETHER_LLC_HEADER_LENGTH   (3)
 

Definition at line 44 of file Ethernet.h.

Referenced by EtherLLC::processPacketFromHigherLayer().

#define ETHER_MAC_FRAME_BYTES   (6+6+2+4)
 

Definition at line 43 of file Ethernet.h.

Referenced by EtherLLC::handleSendPause(), EtherEncap::handleSendPause(), EtherLLC::processPacketFromHigherLayer(), EtherEncap::processPacketFromHigherLayer(), and MACRelayUnitBase::sendPauseFrame().

#define ETHER_PAUSE_COMMAND_BYTES   (6)
 

Definition at line 46 of file Ethernet.h.

Referenced by EtherLLC::handleSendPause(), EtherEncap::handleSendPause(), and MACRelayUnitBase::sendPauseFrame().

#define ETHER_SNAP_HEADER_LENGTH   (5)
 

Definition at line 45 of file Ethernet.h.

#define ETHERNET_TXRATE   10000000L
 

Definition at line 31 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters().

#define FAST_ETHERNET_TXRATE   100000000L
 

Definition at line 32 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters().

#define GIGABIT_ETHERNET_TXRATE   1000000000L
 

Definition at line 33 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters().

#define GIGABIT_MAX_BURST_BYTES   8192
 

Definition at line 25 of file Ethernet.h.

Referenced by EtherMAC::handleEndTxPeriod().

#define GIGABIT_MIN_FRAME_WITH_EXT   512
 

Definition at line 29 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters(), and EtherMAC::handleEndIFGPeriod().

#define GIGABIT_SLOT_TIME   (4096.0/GIGABIT_ETHERNET_TXRATE)
 

Definition at line 35 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters().

#define INTERFRAME_GAP_BITS   96
 

Definition at line 30 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters().

#define JAM_SIGNAL_BYTES   4
 

Definition at line 38 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters(), and EtherMAC::sendJamSignal().

#define MAX_ATTEMPTS   16
 

Definition at line 36 of file Ethernet.h.

Referenced by EtherMAC::handleRetransmission().

#define MAX_ETHERNET_DATA   1500
 

Definition at line 26 of file Ethernet.h.

Referenced by EtherLLC::processPacketFromHigherLayer(), and EtherEncap::processPacketFromHigherLayer().

#define MAX_ETHERNET_FRAME   1518
 

Definition at line 27 of file Ethernet.h.

Referenced by EtherMAC::processFrameFromUpperLayer().

#define MAX_PACKETBURST   13
 

Definition at line 24 of file Ethernet.h.

#define MIN_ETHERNET_FRAME   64
 

Definition at line 28 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters(), EtherLLC::handleSendPause(), EtherEncap::handleSendPause(), EtherLLC::processPacketFromHigherLayer(), EtherEncap::processPacketFromHigherLayer(), and MACRelayUnitBase::sendPauseFrame().

#define PAUSE_BITTIME   512
 

Definition at line 41 of file Ethernet.h.

Referenced by EtherMAC::scheduleEndPausePeriod().

#define PREAMBLE_BYTES   7
 

Definition at line 39 of file Ethernet.h.

Referenced by EtherMAC::processReceivedDataFrame(), and EtherMAC::startFrameTransmission().

#define SFD_BYTES   1
 

Definition at line 40 of file Ethernet.h.

Referenced by EtherMAC::processReceivedDataFrame(), and EtherMAC::startFrameTransmission().

#define SLOT_TIME   (512.0/ETHERNET_TXRATE)
 

Definition at line 34 of file Ethernet.h.

Referenced by EtherMAC::calculateParameters().


Generated on Sat May 15 20:30:44 2004 for Ethernet by doxygen1.2.17