Crate nat_traversal [−] [src]
nat_traversal
NAT traversal utilities.
Structs
MappedSocketAddr |
A socket address obtained through some mapping technique. |
MappedTcpSocket |
A tcp socket for which we know our external endpoints. |
MappedUdpSocket |
A bound udp socket for which we know our external endpoints. |
MappingContext |
You need to create a |
PrivRendezvousInfo |
The local half of a |
PubRendezvousInfo |
Info exchanged by both parties before performing a rendezvous connection. |
PunchedUdpSocket |
A udp socket that has been hole punched. |
SimpleTcpHolePunchServer |
RAII type for a hole punch server which speaks the simple hole punching protocol. |
SimpleUdpHolePunchServer |
RAII type for a hole punch server which speaks the simple hole punching protocol. |
Enums
MappedUdpSocketMapError |
Errors returned by MappedUdpSocket::map |
MappedUdpSocketMapWarning |
Warnings raised by MappedUdpSocket::map |
MappedUdpSocketNewError |
Errors returned by MappedUdpSocket::new |
MappingContextNewError | |
MappingContextNewWarning | |
SimpleTcpHolePunchServerNewError |
Errors returned by SimpleTcpHolePunchServer::new |
SimpleUdpHolePunchServerNewError |
Errors returned by SimpleUdpHolePunchServer::new |
Functions
filter_udp_hole_punch_packet |
Returns |
gen_rendezvous_info |
Create a |
tcp_punch_hole |
Perform a tcp rendezvous connect. |