[][src]Crate natpmp

natpmp

natpmp is a NAT-PMP IETF RFC 6886 client library in rust. It is a rust implementation of the c library 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 Definitions

Result

NAT-PMP result.