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_msg_hdr hdr
 
unsigned attr_count
 
pj_stun_attr_hdrattr [PJ_STUN_MAX_ATTR]
 

Detailed Description

This structure describes a parsed STUN message. All integral fields in this structure (including IP addresses) will be in the host byte order.

Field Documentation

◆ attr

pj_stun_attr_hdr* pj_stun_msg::attr[PJ_STUN_MAX_ATTR]

Array of STUN attributes.

◆ attr_count

unsigned pj_stun_msg::attr_count

Number of attributes in the STUN message.

◆ hdr

pj_stun_msg_hdr pj_stun_msg::hdr

STUN message header.


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.