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

EtherMAC.h File Reference

#include <stdio.h>
#include <string.h>
#include <omnetpp.h>
#include "Ethernet.h"
#include "EtherFrame_m.h"

Go to the source code of this file.

Compounds

class  EtherMAC

Defines

#define ENDIFG   100
#define ENDRECEPTION   101
#define ENDBACKOFF   102
#define ENDTRANSMISSION   103
#define ENDJAMMING   104
#define ENDPAUSE   105
#define ENDAUTOCONFIG   106
#define TX_IDLE_STATE   1
#define WAIT_IFG_STATE   2
#define TRANSMITTING_STATE   3
#define JAMMING_STATE   4
#define BACKOFF_STATE   5
#define PAUSE_STATE   6
#define RX_IDLE_STATE   1
#define RECEIVING_STATE   2
#define RX_COLLISION_STATE   3
#define AUTOCONFIG_PERIOD   0.001


Define Documentation

#define AUTOCONFIG_PERIOD   0.001
 

Definition at line 50 of file EtherMAC.h.

Referenced by EtherMAC::startAutoconfig().

#define BACKOFF_STATE   5
 

Definition at line 41 of file EtherMAC.h.

Referenced by EtherMAC::handleEndBackoffPeriod(), EtherMAC::handleRetransmission(), and EtherMAC::printState().

#define ENDAUTOCONFIG   106
 

Definition at line 34 of file EtherMAC.h.

Referenced by EtherMAC::startAutoconfig().

#define ENDBACKOFF   102
 

Definition at line 30 of file EtherMAC.h.

Referenced by EtherMAC::handleMessage(), and EtherMAC::initialize().

#define ENDIFG   100
 

Definition at line 28 of file EtherMAC.h.

Referenced by EtherMAC::handleMessage(), and EtherMAC::initialize().

#define ENDJAMMING   104
 

Definition at line 32 of file EtherMAC.h.

Referenced by EtherMAC::handleMessage(), and EtherMAC::initialize().

#define ENDPAUSE   105
 

Definition at line 33 of file EtherMAC.h.

Referenced by EtherMAC::handleMessage(), and EtherMAC::initialize().

#define ENDRECEPTION   101
 

Definition at line 29 of file EtherMAC.h.

Referenced by EtherMAC::handleMessage(), and EtherMAC::initialize().

#define ENDTRANSMISSION   103
 

Definition at line 31 of file EtherMAC.h.

Referenced by EtherMAC::handleMessage(), and EtherMAC::initialize().

#define JAMMING_STATE   4
 

Definition at line 40 of file EtherMAC.h.

Referenced by EtherMAC::handleEndJammingPeriod(), EtherMAC::printState(), and EtherMAC::sendJamSignal().

#define PAUSE_STATE   6
 

Definition at line 42 of file EtherMAC.h.

Referenced by EtherMAC::handleEndPausePeriod(), EtherMAC::printState(), EtherMAC::processPauseCommand(), and EtherMAC::scheduleEndPausePeriod().

#define RECEIVING_STATE   2
 

Definition at line 46 of file EtherMAC.h.

Referenced by EtherMAC::handleEndRxPeriod(), EtherMAC::printState(), EtherMAC::processMsgFromNetwork(), EtherMAC::scheduleEndRxPeriod(), and EtherMAC::startFrameTransmission().

#define RX_COLLISION_STATE   3
 

Definition at line 47 of file EtherMAC.h.

Referenced by EtherMAC::printState(), EtherMAC::processMsgFromNetwork(), and EtherMAC::startFrameTransmission().

#define RX_IDLE_STATE   1
 

Definition at line 45 of file EtherMAC.h.

Referenced by EtherMAC::handleEndBackoffPeriod(), EtherMAC::handleEndRxPeriod(), EtherMAC::handleEndTxPeriod(), EtherMAC::handleMessage(), EtherMAC::initialize(), EtherMAC::printState(), EtherMAC::processFrameFromUpperLayer(), EtherMAC::processMsgFromNetwork(), and EtherMAC::startFrameTransmission().

#define TRANSMITTING_STATE   3
 

Definition at line 39 of file EtherMAC.h.

Referenced by EtherMAC::handleEndTxPeriod(), EtherMAC::handleMessage(), EtherMAC::printState(), EtherMAC::processMsgFromNetwork(), and EtherMAC::scheduleEndTxPeriod().

#define TX_IDLE_STATE   1
 

Definition at line 37 of file EtherMAC.h.

Referenced by EtherMAC::beginSendFrames(), EtherMAC::handleEndBackoffPeriod(), EtherMAC::handleEndRxPeriod(), EtherMAC::handleRetransmission(), EtherMAC::initialize(), EtherMAC::printState(), EtherMAC::processFrameFromUpperLayer(), and EtherMAC::processPauseCommand().

#define WAIT_IFG_STATE   2
 

Definition at line 38 of file EtherMAC.h.

Referenced by EtherMAC::handleEndIFGPeriod(), EtherMAC::printState(), and EtherMAC::scheduleEndIFGPeriod().


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