Home --> Documentations --> PJNATH Reference

PJNATH specific error code constants. More...

Macros

#define PJNATH_ERRNO_START   (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*4)
 
#define PJ_STATUS_FROM_STUN_CODE(code)   (PJNATH_ERRNO_START+code)
 
#define PJNATH_EINSTUNMSG
 
#define PJNATH_EINSTUNMSGLEN
 
#define PJNATH_EINSTUNMSGTYPE
 
#define PJNATH_ESTUNTIMEDOUT
 
#define PJNATH_ESTUNTOOMANYATTR
 
#define PJNATH_ESTUNINATTRLEN
 
#define PJNATH_ESTUNDUPATTR
 
#define PJNATH_ESTUNFINGERPRINT
 
#define PJNATH_ESTUNMSGINTPOS
 
#define PJNATH_ESTUNFINGERPOS
 
#define PJNATH_ESTUNNOMAPPEDADDR
 
#define PJNATH_ESTUNIPV6NOTSUPP
 
#define PJNATH_EINVAF
 
#define PJNATH_ESTUNINSERVER
 
#define PJNATH_ESTUNDESTROYED
 
#define PJNATH_ENOICE
 
#define PJNATH_EICEINPROGRESS
 
#define PJNATH_EICEFAILED
 
#define PJNATH_EICEMISMATCH
 
#define PJNATH_EICEINCOMPID
 
#define PJNATH_EICEINCANDID
 
#define PJNATH_EICEINSRCADDR
 
#define PJNATH_EICEMISSINGSDP
 
#define PJNATH_EICEINCANDSDP
 
#define PJNATH_EICENOHOSTCAND
 
#define PJNATH_EICENOMTIMEOUT
 
#define PJNATH_ETURNINTP
 

Detailed Description

Macro Definition Documentation

#define PJ_STATUS_FROM_STUN_CODE (   code)    (PJNATH_ERRNO_START+code)

Map STUN error code (300-699) into pj_status_t error space.

#define PJNATH_EICEFAILED

This error indicates that ICE connectivity check has failed, because there is at least one ICE component that does not have a valid check. Normally this happens because the network topology had caused the connectivity check to fail (e.g. no route between the two agents), however other reasons may include software incompatibility between the two agents, or incomplete candidates gathered by the agent(s).

#define PJNATH_EICEINCANDID

Invalid ICE candidate ID

#define PJNATH_EICEINCANDSDP

Invalid SDP "candidate" attribute

#define PJNATH_EICEINCOMPID

Invalid ICE component ID

#define PJNATH_EICEINPROGRESS

ICE check is in progress

#define PJNATH_EICEINSRCADDR

Source address mismatch. This error occurs if the source address of the response for ICE connectivity check is different than the destination address of the request.

#define PJNATH_EICEMISMATCH

Default destination does not match any ICE candidates

#define PJNATH_EICEMISSINGSDP

Missing ICE SDP attribute

#define PJNATH_EICENOHOSTCAND

No host candidate associated with srflx. This error occurs when a server reflexive candidate is added without the matching host candidate.

#define PJNATH_EICENOMTIMEOUT

Controlled agent timed-out in waiting for the controlling agent to send nominated check after all connectivity checks have completed.

#define PJNATH_EINSTUNMSG

Invalid STUN message

#define PJNATH_EINSTUNMSGLEN

Invalid STUN message length.

#define PJNATH_EINSTUNMSGTYPE

Invalid or unexpected STUN message type

#define PJNATH_EINVAF

Invalid address family value in STUN message.

#define PJNATH_ENOICE

ICE session not available

#define PJNATH_ERRNO_START   (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*4)

Start of error code relative to PJ_ERRNO_START_USER. This value is 370000.

#define PJNATH_ESTUNDESTROYED

STUN object has been destoyed.

#define PJNATH_ESTUNDUPATTR

Found duplicate STUN attribute.

#define PJNATH_ESTUNFINGERPOS

Invalid STUN attribute after FINGERPRINT.

#define PJNATH_ESTUNFINGERPRINT

STUN FINGERPRINT verification failed

#define PJNATH_ESTUNINATTRLEN

Invalid STUN attribute length.

#define PJNATH_ESTUNINSERVER

Invalid STUN server or server not configured.

#define PJNATH_ESTUNIPV6NOTSUPP

STUN IPv6 attribute not supported

#define PJNATH_ESTUNMSGINTPOS

Invalid STUN attribute after MESSAGE-INTEGRITY.

#define PJNATH_ESTUNNOMAPPEDADDR

STUN (XOR-)MAPPED-ADDRESS attribute not found

#define PJNATH_ESTUNTIMEDOUT

STUN transaction has timed out

#define PJNATH_ESTUNTOOMANYATTR

Too many STUN attributes.

#define PJNATH_ETURNINTP

Invalid or unsupported TURN transport.

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.