Expand description
natpmp
natpmp
is a NAT-PMP IETF RFC 6886 client library in rust.
It is a rust implementation of the c library natpmp.
Structs
Gateway response.
Mapping response.
NAT-PMP main struct.
NAT-PMP async client
Enums
NAT-PMP error.
NAT-PMP mapping protocol.
NAT-PMP response.
NAT-PMP response type.
Constants
NAT-PMP server port as defined by rfc6886.
Traits
A wrapper trait for async udpsocket.
Functions
Get default gateway.
Create a NAT-PMP object with async udpsocket and gateway
Create a tokio NAT-PMP object with default gateway
Create a tokio NAT-PMP object with specified gateway.
Type Definitions
NAT-PMP result.