Module rust_ofp::packet
[−]
[src]
Structs
Flags |
The type of IPv4 flags. |
Icmp |
ICMP frame of a packet. |
Ip |
IPv4 frame of a packet. |
Packet |
Represents a packet at the ethernet protocol level. |
Tcp |
TCP frame of a packet. |
TcpFlags |
TCP Header flags. |
Udp |
UDP frame of a packet. |
Enums
Arp |
Address resolution protocol (ARP) packet payload. |
Nw |
Represents a packet at the network protocol level. |
Tp |
Represents packets at the transport protocol level, which are encapsulated within the IPv4 payload. At present, we only support TCP, UDP, and ICMP explicitly; otherwise, the raw bytes and IPv4 protocol number are provided. |
Functions
bytes_of_mac | |
mac_of_bytes |