Home --> Documentations --> PJNATH Reference

pj_stun_nat_detect_result Struct Reference

Data Fields

pj_status_t status
const char * status_text
pj_stun_nat_type nat_type
const char * nat_type_name

Detailed Description

This structure contains the result of NAT classification function.

Field Documentation

◆ nat_type

pj_stun_nat_type pj_stun_nat_detect_result::nat_type

This contains the NAT type as detected by the detection procedure. This value is only valid when the status is PJ_SUCCESS.

◆ nat_type_name

const char* pj_stun_nat_detect_result::nat_type_name

Text describing that NAT type.

◆ status

pj_status_t pj_stun_nat_detect_result::status

Status of the detection process. If this value is not PJ_SUCCESS, the detection has failed and nat_type field will contain PJ_STUN_NAT_TYPE_UNKNOWN.

◆ status_text

const char* pj_stun_nat_detect_result::status_text

The text describing the status, if the status is not PJ_SUCCESS.

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.