Amazon Kinesis Webrtc C SDK
StunHeader Struct Reference

#include <Stun.h>

Collaboration diagram for StunHeader:
Collaboration graph

Public Attributes

UINT16 stunMessageType
 
UINT16 messageLength
 
UINT32 magicCookie
 
BYTE transactionId [(UINT16) 12]
 

Detailed Description

Stun packet header definition

IMPORTANT: This structure has exactly the same layout as the on-the-wire header for STUN packet according to the following RFCs:

https://tools.ietf.org/html/rfc5389#section-15 https://tools.ietf.org/html/rfc3489#section-11.2

Member Data Documentation

◆ magicCookie

UINT32 StunHeader::magicCookie

◆ messageLength

UINT16 StunHeader::messageLength

◆ stunMessageType

UINT16 StunHeader::stunMessageType

◆ transactionId

BYTE StunHeader::transactionId[(UINT16) 12]

The documentation for this struct was generated from the following file: