mirror of
https://github.com/PretendoNetwork/nex-go.git
synced 2025-04-02 11:02:14 -04:00
19 lines
590 B
Go
19 lines
590 B
Go
package constants
|
|
|
|
// NATMappingProperties is an implementation of the nn::nex::NATProperties::MappingProperties enum.
|
|
//
|
|
// NATMappingProperties is used to indicate the NAT mapping properties of the users router.
|
|
//
|
|
// See https://datatracker.ietf.org/doc/html/rfc4787 for more details
|
|
type NATMappingProperties uint8
|
|
|
|
const (
|
|
// UnknownNATMapping indicates the NAT type could not be identified
|
|
UnknownNATMapping NATMappingProperties = iota
|
|
|
|
// EIMNATMapping indicates endpoint-independent mapping
|
|
EIMNATMapping
|
|
|
|
// EDMNATMapping indicates endpoint-dependent mapping
|
|
EDMNATMapping
|
|
)
|