View definition

(NAT).AddPortMapping

Defined in github.com/btcsuite/btcd/upnp.go

Description

Add a port mapping for protocol ("udp" or "tcp") from externalport to internal port with description lasting for timeout.

AddPortMapping is referenced in 1 repository

github.com/btcsuite/btcd