Module netsim::wire [] [src]

Types for describing ethernet/IP packets.

Structs

ArpPacket

An ARP packet

EtherFields

The header fields of an ethernet packet.

EtherFrame

Represents an ethernet frame.

EtherPlug

An ethernet connection, used to send/receive ethernet frames to/from the plug at the other end.

Ipv4Fields

The header fields of an Ipv4 packet.

Ipv4Packet

An Ipv4 packet.

Ipv4Plug

One end of an Ipv4 connection that can be used to read/write packets to/from the other end.

MacAddr

An ethernet hardware MAC address.

UdpPacket

A UDP packet

Enums

ArpFields

The fields of an ARP packet.

EtherPayload

The payload of an ethernet frame.

EtherPayloadFields

The fields of the payload of an ethernet frame. Can be used along with EtherFields to describe/construct an ethernet frame and its contents.

Ipv4Payload

The payload of an Ipv4 packet

Ipv4PayloadFields

The payload of an Ipv4 packet. Can be used to construct an Ipv4 packet and its contents simultaneously.

UdpFields

Represents the header fields of a UDP packet. Also includes IP addresses as these are needed to calculate/verify the packet checksum.