#include "INETDefs.h"
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 10000000.0 |
#define | FAST_ETHERNET_TXRATE 100000000.0 |
#define | GIGABIT_ETHERNET_TXRATE 1000000000.0 |
#define | FAST_GIGABIT_ETHERNET_TXRATE 10000000000.0 |
#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 BACKOFF_RANGE_LIMIT 10 |
Definition at line 38 of file Ethernet.h.
#define ETHER_LLC_HEADER_LENGTH (3) |
Definition at line 45 of file Ethernet.h.
Referenced by EtherLLC::processPacketFromHigherLayer().
#define ETHER_MAC_FRAME_BYTES (6+6+2+4) |
Definition at line 44 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 47 of file Ethernet.h.
Referenced by EtherLLC::handleSendPause(), EtherEncap::handleSendPause(), and MACRelayUnitBase::sendPauseFrame().
#define ETHER_SNAP_HEADER_LENGTH (5) |
Definition at line 46 of file Ethernet.h.
#define ETHERNET_TXRATE 10000000.0 |
Definition at line 31 of file Ethernet.h.
Referenced by EtherMACBase::calculateParameters().
#define FAST_ETHERNET_TXRATE 100000000.0 |
Definition at line 32 of file Ethernet.h.
Referenced by EtherMACBase::calculateParameters().
#define FAST_GIGABIT_ETHERNET_TXRATE 10000000000.0 |
Definition at line 34 of file Ethernet.h.
Referenced by EtherMACBase::calculateParameters().
#define GIGABIT_ETHERNET_TXRATE 1000000000.0 |
Definition at line 33 of file Ethernet.h.
Referenced by EtherMACBase::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 EtherMACBase::calculateParameters(), EtherMACBase::handleEndIFGPeriod(), and EtherMAC::handleEndIFGPeriod().
#define GIGABIT_SLOT_TIME (4096.0/GIGABIT_ETHERNET_TXRATE) |
Definition at line 36 of file Ethernet.h.
Referenced by EtherMACBase::calculateParameters().
#define INTERFRAME_GAP_BITS 96 |
Definition at line 30 of file Ethernet.h.
Referenced by EtherMACBase::calculateParameters().
#define JAM_SIGNAL_BYTES 4 |
Definition at line 39 of file Ethernet.h.
Referenced by EtherMACBase::calculateParameters(), and EtherMAC::sendJamSignal().
#define MAX_ATTEMPTS 16 |
Definition at line 37 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().
#define MAX_ETHERNET_FRAME 1518 |
Definition at line 27 of file Ethernet.h.
Referenced by EtherMACBase::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 EtherLLC::handleSendPause(), EtherEncap::handleSendPause(), EtherLLC::processPacketFromHigherLayer(), EtherEncap::processPacketFromHigherLayer(), and MACRelayUnitBase::sendPauseFrame().
#define PAUSE_BITTIME 512 |
Definition at line 42 of file Ethernet.h.
Referenced by EtherMACBase::scheduleEndPausePeriod().
#define PREAMBLE_BYTES 7 |
Definition at line 40 of file Ethernet.h.
Referenced by EtherMACBase::processReceivedDataFrame(), EtherMAC2::startFrameTransmission(), and EtherMAC::startFrameTransmission().
#define SFD_BYTES 1 |
Definition at line 41 of file Ethernet.h.
Referenced by EtherMACBase::processReceivedDataFrame(), EtherMAC2::startFrameTransmission(), and EtherMAC::startFrameTransmission().
#define SLOT_TIME (512.0/ETHERNET_TXRATE) |
Definition at line 35 of file Ethernet.h.