BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJNATH Reference

pj_stun_data_attr Struct Reference

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

pj_uint8_t* pj_stun_data_attr::data

The raw data.

pj_stun_attr_hdr pj_stun_data_attr::hdr

Standard STUN attribute header.

unsigned pj_stun_data_attr::length

Length of the data.

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.