Module attributes

Source
Expand description

STUN Attributes. This module contains all attributes defined for the STUN protocol. Additional flags can be enabled for TURN and ICE.

Modules§

discovery
NAT Behavior Discovery attributes defined for STUN RFC5780
ice
ICE extends STUN with the attributes: Priority, UseCandidate, IceControlled, and IceControlling. These attributes are formally defined in Section 16.1. This section describes the usage of the attributes The attributes are only applicable to ICE connectivity checks.
mobility
Mobility attributes defined for TURN RFC8016
stun
STUN attributes defined for STUN protocol RFC8489
turn
TURN attributes defined for TURN protocol RFC8656

Structs§

AttributeType
A STUN attribute type is a hex number in the range 0x0000-0xFFFF. STUN attribute types in the range 0x0000-0x7FFF are considered comprehension-required.
Unknown
Unknown attribute. This attribute is added to a decoded message when there is not a known handler to decode an attribute. To minimize impact on memory, the data associated to any unknown attribute is discarded unless the experimental flag is enabled and the decoder context had been configured to keep the data associated to unknown attributes.

Enums§

StunAttribute
STUN Attributes that can be attached to a StunMessage

Traits§

StunAttributeType
Trait implemented by all StunAttribute