Module pnet::transport
[−]
[src]
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.
Structs
Ipv4TransportChannelIterator |
An iterator over packets of type $ty |
TransportReceiver |
Structure used for receiving at the transport layer. Should be created with transport_channel() |
TransportSender |
Structure used for sending at the transport layer. Should be created with transport_channel() |
UdpTransportChannelIterator |
An iterator over packets of type $ty |
Enums
TransportChannelType |
Type of transport channel to present |
TransportProtocol |
Represents a transport layer protocol |
Functions
ipv4_packet_iter |
Return a packet iterator with packets of type $ty for some transport receiver |
transport_channel |
Create a new (TransportSender, TransportReceiver) pair |
udp_packet_iter |
Return a packet iterator with packets of type $ty for some transport receiver |