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_session.h>

Public Member Functions

 PJ_DECL_LIST_MEMBER (struct pj_stun_tx_data)
 

Data Fields

pj_pool_tpool
 
pj_stun_sessionsess
 
pj_stun_msgmsg
 
pj_bool_t is_destroying
 
void * token
 
pj_stun_client_tsxclient_tsx
 
pj_bool_t retransmit
 
pj_uint32_t msg_magic
 
pj_uint8_t msg_key [12]
 
pj_grp_lock_tgrp_lock
 
pj_stun_req_cred_info auth_info
 
void * pkt
 
unsigned max_len
 
pj_size_t pkt_size
 
unsigned addr_len
 
const pj_sockaddr_tdst_addr
 
pj_timer_entry res_timer
 

Detailed Description

This structure describe the outgoing STUN transmit data to carry the message to be sent.

Forward declaration for pj_stun_tx_data

Member Function Documentation

◆ PJ_DECL_LIST_MEMBER()

pj_stun_tx_data::PJ_DECL_LIST_MEMBER ( struct pj_stun_tx_data  )

PJLIB list interface

Field Documentation

◆ addr_len

unsigned pj_stun_tx_data::addr_len

Length of destination address.

◆ auth_info

pj_stun_req_cred_info pj_stun_tx_data::auth_info

Credential info

◆ client_tsx

pj_stun_client_tsx* pj_stun_tx_data::client_tsx

Client STUN transaction.

◆ dst_addr

const pj_sockaddr_t* pj_stun_tx_data::dst_addr

Destination address.

◆ grp_lock

pj_grp_lock_t* pj_stun_tx_data::grp_lock

Group lock (for resp cache).

◆ is_destroying

pj_bool_t pj_stun_tx_data::is_destroying

Is destroying?

◆ max_len

unsigned pj_stun_tx_data::max_len

Length of packet buffer.

◆ msg

pj_stun_msg* pj_stun_tx_data::msg

The STUN message.

◆ msg_key

pj_uint8_t pj_stun_tx_data::msg_key[12]

Message/transaction key.

◆ msg_magic

pj_uint32_t pj_stun_tx_data::msg_magic

Message magic.

◆ pkt

void* pj_stun_tx_data::pkt

The STUN packet.

◆ pkt_size

pj_size_t pj_stun_tx_data::pkt_size

The actual length of STUN pkt.

◆ pool

pj_pool_t* pj_stun_tx_data::pool

Pool.

◆ res_timer

pj_timer_entry pj_stun_tx_data::res_timer

Response cache timer.

◆ retransmit

pj_bool_t pj_stun_tx_data::retransmit

Retransmit request?

◆ sess

pj_stun_session* pj_stun_tx_data::sess

The STUN session.

◆ token

void* pj_stun_tx_data::token

The token.


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.