Module rustun::constants [] [src]

Constant values related to STUN.

Constants

DEFAULT_MAX_MESSAGE_SIZE

The default maximum size of a message.

DEFAULT_MAX_OUTSTANDING_TRANSACTIONS

The default max concurrent transactions by a client to a server.

DEFAULT_MIN_TRANSACTION_INTERVAL_MS

The default interval between transactions issued by a client to a serve.

DEFAULT_PORT

The default TCP and UDP port for STUN.

DEFAULT_RTO_CACHE_DURATION_MS

The default duration preserving a cached RTO (Retransmission TimeOut).

DEFAULT_RTO_MS

The default value of RTO (Retransmission TimeOut).

DEFAULT_TIMEOUT_MS

The default value of Ti (Timeout duration for a request over TCP).

DEFAULT_TLS_PORT

The default TLS port for STUN.

MAGIC_COOKIE

The magic cookie value.