BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJNATH Reference

pj_stun_nat_detect_result Struct Reference
[NAT Classification/Detection Tool]

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

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

Text describing that NAT type.

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.

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.