Message EtherAutoconfig

File: NetworkInterfaces/Ethernet/EtherFrame.msg

C++ definition: click here

Ethernet model components (EtherMAC, EtherHub and EtherBus) send this message at the beginning of the simulation, so that "auto"-valued "txrate" and "duplex" parameters of EtherMAC can be initialized. The purpose is similar to Ethernet Auto-Negotiation; however this is NOT meant to be the model of that Ethernet feature. (For example, EtherBus also sends an EtherAutoconfig message in the model, which obviously does not happen in a real Ethernet.)

Inheritance diagram:

The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.

EtherAutoconfig

Fields:

Name Type Description
txrate double
halfDuplex bool

Source code:

message EtherAutoconfig
{
    fields:
        double txrate = 0;
        bool halfDuplex = false;
};