Interrupt status queue values
Frames injected using the 'inject_packet' will get a correctly calculated CRC added at the end when this attribute is set to 1 (default). When set to 0, the user has to supply a CRC field with the injected frame. Note that you must always provide room for the CRC field, even when this attribute is set to 1.
For address calculation. This attribute specifies how many bits the offset should be shifted right to, for building appropriate addresses. Used by architectures which maps this 16 bit device as a 64 bit device.
Status and control registers
(Obsolete - see the "last-frame" attribute instead). The packet that is currently about to be sent or received. The format is a raw Ethernet frame. This attribute is only valid in Ethernet_Transmit and Ethernet_Receive hap callbacks. It is possible to override the packet by assigning this attribute. The device will drop the current packet if the attribute is set to Nil, or with data of zero length.
Data for current eeprom transaction
Attribute used to send a packet to the network device. Writing this attribute at any time injects a new packet into the device (without involving the network simulation). Injecting a packet copies the packet data, allowing the caller to reuse or dispose of the buffer used for creating the packet, after the attribute is written.
Register, Packetpage base + 0x22
Register, Packetpage base + 0x20
Device to send IRQ to, implementingsimple-interrupt.
Level at which IRQs are sent.
The frame that is currently about to be sent or received. The format is a raw Ethernet frame. This attribute is only valid in Ethernet_Transmit and Ethernet_Receive hap callbacks. It is possible to override the packet by assigning this attribute. The device will drop the current packet if the attribute is set to Nil, or with data of zero length.
The Ethernet link that the network device is connected to.
Registers, Packetpage base + 0x150
Ethernet (MAC) address of the network interface.
If set to 1, the device will calculate and include an Ethernet CRC on all transmitted frames, and check the CRC on received frames.
Obsolete attribute. Use link instead.
Packet page pointer
The receive buffer for incoming ethernet packets
Current location when reading the receive buffer
Recorder object that allows recording and later playback of network traffic to the interface.
This value determined how reliable an established connection is. If set to N it means that with a probability of 1 out of N a package will be lost (not sent to the receiver). The default value is 0 which means that no packages will be lost.
The seed value for the randomization of packet loss. See the reliability attribute
The transmit buffer for outgoing ethernet packets
Current location when reading the transmit buffer
Register, length of package to send
|connect||connect to a simulated Ethernet link|
|disconnect||disconnect from simulated link|
|info||print information about the device|
|status||print status of the device|