summaryrefslogtreecommitdiff
path: root/pjlib/include/pj
diff options
context:
space:
mode:
authorRiza Sulistyo <riza@teluu.com>2016-10-05 09:07:17 +0000
committerRiza Sulistyo <riza@teluu.com>2016-10-05 09:07:17 +0000
commit6cb8f011c9ff83fddb6bffbabbe280cfeb64778f (patch)
tree7763e2a78d151d728fe5a5662a494d19de559958 /pjlib/include/pj
parentc8023fd26f3b19fd0cebf891b0fc2b3082abb21e (diff)
Re #1963: Implement QoS for IPv6 for platform that supports IPV6_TCLASS.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5444 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj')
-rw-r--r--pjlib/include/pj/sock.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/pjlib/include/pj/sock.h b/pjlib/include/pj/sock.h
index 44d0fecd..e0b64d8a 100644
--- a/pjlib/include/pj/sock.h
+++ b/pjlib/include/pj/sock.h
@@ -276,6 +276,19 @@ extern const pj_uint16_t PJ_IPTOS_MINCOST;
#endif
+/** IPV6_TCLASS optname in setsockopt(). @see pj_IPV6_TCLASS() */
+extern const pj_uint16_t PJ_IPV6_TCLASS;
+
+
+#if defined(PJ_DLL)
+ /** Get #PJ_IPV6_TCLASS constant */
+ PJ_DECL(int) pj_IPV6_TCLASS(void);
+#else
+ /** Get #PJ_IPV6_TCLASS constant */
+# define pj_IPV6_TCLASS() PJ_IPV6_TCLASS
+#endif
+
+
/**
* Values to be specified as \c optname when calling #pj_sock_setsockopt()
* or #pj_sock_getsockopt().