summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-04-07 09:42:58 +0000
committerBenny Prijono <bennylp@teluu.com>2009-04-07 09:42:58 +0000
commit125315337f4e0df235bcf2e0d388db32493cca3f (patch)
tree0ad75b40756a4bc9ea5d657bc9a8a101f641cfdc /pjnath/include
parent350d6756668b62617ac3169ee10148199fab4037 (diff)
Part of ticket #780 (work in progress): added IPv6 support to various STUN attributes and added the test from draft-ietf-behave-stun-test-vectors
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2580 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/errno.h7
-rw-r--r--pjnath/include/pjnath/types.h7
2 files changed, 9 insertions, 5 deletions
diff --git a/pjnath/include/pjnath/errno.h b/pjnath/include/pjnath/errno.h
index 56645234..719ba412 100644
--- a/pjnath/include/pjnath/errno.h
+++ b/pjnath/include/pjnath/errno.h
@@ -114,12 +114,17 @@
* STUN IPv6 attribute not supported
*/
#define PJNATH_ESTUNIPV6NOTSUPP (PJNATH_ERRNO_START+41) /* 370041 */
+/**
+ * @hideinitializer
+ * Invalid address family value in STUN message.
+ */
+#define PJNATH_EINVAF (PJNATH_ERRNO_START+42) /* 370042 */
/**
* @hideinitializer
* Invalid STUN server or server not configured.
*/
-#define PJNATH_ESTUNINSERVER (PJNATH_ERRNO_START+42) /* 370042 */
+#define PJNATH_ESTUNINSERVER (PJNATH_ERRNO_START+50) /* 370050 */
/************************************************************
diff --git a/pjnath/include/pjnath/types.h b/pjnath/include/pjnath/types.h
index b3dee539..a7d66070 100644
--- a/pjnath/include/pjnath/types.h
+++ b/pjnath/include/pjnath/types.h
@@ -97,10 +97,9 @@ application protocols in dealing with NAT traversal. It allows a client
to determine the IP address and port allocated to them by a NAT and to
keep NAT bindings open.
-This version of PJNATH implements the following STUN-bis draft:
-- <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-rfc3489bis-18.txt">
- <B>draft-ietf-behave-rfc3489bis-18</b></A>: Session Traversal
- Utilities for (NAT) (STUN),
+This version of PJNATH implements the following STUN RFC:
+- <A HREF="http://www.ietf.org/rfc/rfc5389.txt"><B>RFC 5389</b></A>:
+ Session Traversal Utilities for (NAT) (STUN),
\subsection comp_turn TURN