Crate libnatpmp

Source
Expand description

This library is deprecated, use natpmp!

See https://crates.io/crates/natpmp.

Structs§

GatewayResponse
Gateway response.
MappingResponse
Mapping response.
Natpmp
NAT-PMP main struct.

Enums§

Error
NAT-PMP error.
Protocol
NAT-PMP mapping protocol.
Response
NAT-PMP response.
ResponseType
NAT-PMP response type.

Constants§

NATPMP_PORT
NAT-PMP server port as defined by rfc6886.

Functions§

get_default_gateway
Get default gateway.

Type Aliases§

Result
NAT-PMP result.