diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-10-25 10:50:17 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-10-25 10:50:17 +0000 |
commit | 295cdeb355d07347f2ba1f4a66ae144fee5efbf7 (patch) | |
tree | 5fabe1cd9c76386575fe0daa61698e6c9f8af995 /pjlib/include | |
parent | fdc0f2ecdb18b9176f87f55ee17f054ce107e8c7 (diff) |
More ticket #950 (QoS):
- fixed wrong DSCP field operation with sock_qos_bsd.c backend
- tested on Linux for SIP (UDP/TCP), UDP RTP/RTCP, and ICE
- renamed 801_1_P names to SO_PRIO
- changed a bit of doxygen documentation (the title etc)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2967 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r-- | pjlib/include/pj/sock_qos.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pjlib/include/pj/sock_qos.h b/pjlib/include/pj/sock_qos.h index 12dd4b80..00d29e90 100644 --- a/pjlib/include/pj/sock_qos.h +++ b/pjlib/include/pj/sock_qos.h @@ -31,7 +31,7 @@ PJ_BEGIN_DECL /** - * @defgroup socket_qos Socket Quality of Service (QoS) API + * @defgroup socket_qos Socket Quality of Service (QoS) API: TOS, DSCP, WMM, IEEE 802.1p * @ingroup PJ_SOCK * @{ @@ -63,7 +63,7 @@ PJ_BEGIN_DECL At the Internet layer, you can use Differentiated Services/Diffserv and set the value of the Differentiated Services Code Point (DSCP) in the - IP header. As defined in RFC 2472, the DSCP value is the high-order 6 bits + IP header. As defined in RFC 2474, the DSCP value is the high-order 6 bits of the IP version 4 (IPv4) TOS field and the IP version 6 (IPv6) Traffic Class field. @@ -179,7 +179,7 @@ PJ_BEGIN_DECL typedef enum pj_qos_flag { PJ_QOS_PARAM_HAS_DSCP = 1, - PJ_QOS_PARAM_HAS_802_1_P = 2, + PJ_QOS_PARAM_HAS_SO_PRIO = 2, PJ_QOS_PARAM_HAS_WMM = 4 } pj_qos_flag; @@ -195,7 +195,7 @@ PJ_BEGIN_DECL { pj_uint8_t flags; // Determines which values to // set, bitmask of pj_qos_flag - pj_uint8_t dscp_val; // DSCP value to set + pj_uint8_t dscp_val; // The 6 bits DSCP value to set pj_uint8_t so_prio; // SO_PRIORITY value pj_qos_wmm_prio wmm_prio; // WMM priority value } pj_qos_params; @@ -248,7 +248,7 @@ typedef enum pj_qos_type typedef enum pj_qos_flag { PJ_QOS_PARAM_HAS_DSCP = 1, /**< DSCP field is set. */ - PJ_QOS_PARAM_HAS_802_1_P = 2, /**< IEEE 802.1p field is set */ + PJ_QOS_PARAM_HAS_SO_PRIO = 2, /**< Socket SO_PRIORITY */ PJ_QOS_PARAM_HAS_WMM = 4 /**< WMM field is set. */ } pj_qos_flag; @@ -272,7 +272,7 @@ typedef struct pj_qos_params { pj_uint8_t flags; /**< Determines which values to set, bitmask of pj_qos_flag */ - pj_uint8_t dscp_val; /**< DSCP value to set */ + pj_uint8_t dscp_val; /**< The 6 bits DSCP value to set */ pj_uint8_t so_prio; /**< SO_PRIORITY value */ pj_qos_wmm_prio wmm_prio; /**< WMM priority value */ } pj_qos_params; |