Home --> Documentations --> PJNATH Reference
#include <nat_detect.h>
This structure contains the result of NAT classification function.
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.