WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJNATH Reference

#include <stun_msg.h>

Data Fields

pj_stun_attr_hdr hdr
 
pj_uint32_t magic
 
unsigned length
 
pj_uint8_tdata
 

Detailed Description

This structure represents generic STUN attributes to hold a raw binary data.

This describes the STUN DATA attribute. The DATA attribute is present in Send Indications and Data Indications. It contains raw payload data that is to be sent (in the case of a Send Request) or was received (in the case of a Data Indication)..

Field Documentation

◆ data

pj_uint8_t* pj_stun_data_attr::data

The raw data.

◆ hdr

pj_stun_attr_hdr pj_stun_data_attr::hdr

Standard STUN attribute header.

◆ length

unsigned pj_stun_data_attr::length

Length of the data.

◆ magic

pj_uint32_t pj_stun_data_attr::magic

Special signature to indicate that this is a valid attribute even though we don't have meta-data to describe this attribute.


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

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.