Documentation ¶
Overview ¶
Stun nat behavior test
modified from https://github.com/pion/stun/blob/master/cmd/stun-nat-behaviour/main.go
Index ¶
- func DNS(p netapi.Proxy, host, target string) (time.Duration, error)
- func DNSOverQuic(p netapi.Proxy, host, target string) (time.Duration, error)
- func HTTP(p netapi.Proxy, target string) (time.Duration, error)
- func Mapping(conn net.PacketConn, udpAddr netapi.Address, timeout time.Duration) (Response, NatType, error)
- func StunTCP(ctx context.Context, p netapi.Proxy, host string) (string, error)
- func TCPConnectLatency(address, portstr string) (time.Duration, error)
- type NatType
- type Response
- type StunResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.