[−][src]Crate pnet_transport
Support for implementing transport layer protocols
The transport module provides the ability to send and receive packets at the transport layer using IPv4 or IPv6. It also enables layer 3 networking for specific transport protocols, using IPv4 only.
Note that this is limited by operating system support - for example, on OS X and FreeBSD, it is impossible to implement protocols which are already implemented in the kernel such as TCP and UDP.
Macros
transport_channel_iterator | Create an iterator for some packet type. |
Structs
Config | Structure used for holding all configurable options for describing possible options for transport channels. |
IcmpTransportChannelIterator | An iterator over packets of type |
Icmpv6TransportChannelIterator | An iterator over packets of type |
Ipv4TransportChannelIterator | An iterator over packets of type |
TcpTransportChannelIterator | An iterator over packets of type |
TransportReceiver | Structure used for receiving at the transport layer. Should be created with |
TransportSender | Structure used for sending at the transport layer. Should be created with |
UdpTransportChannelIterator | An iterator over packets of type |
Enums
TransportChannelType | Type of transport channel to present. |
TransportProtocol | Represents a transport layer protocol. |
Functions
icmp_packet_iter | Return a packet iterator with packets of type |
icmpv6_packet_iter | Return a packet iterator with packets of type |
ipv4_packet_iter | Return a packet iterator with packets of type |
tcp_packet_iter | Return a packet iterator with packets of type |
transport_channel | Create a new |
transport_channel_with | Create a new |
udp_packet_iter | Return a packet iterator with packets of type |