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.

Icmpv4Packet

An ICMPv4 packet

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.

TcpFields

The fields of a TCP header

TcpPacket

A TCP packet

UdpFields

Represents the header fields of a UDP packet.

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.

Icmpv4PacketKind

Description of an ICMPv4 packet

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.