Changes between Version 3 and Version 4 of Ticket #950


Ignore:
Timestamp:
Aug 18, 2009 11:32:33 AM (13 years ago)
Author:
bennylp
Comment:

Removed the get_dscp_class() API.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #950 – Description

    v3 v4  
    8080 PJ_DECL(pj_status_t) pj_sock_set_dscp_class(pj_sock_t sock, 
    8181                                             pj_sock_dscp_class c); 
    82  PJ_DECL(pj_status_t) pj_sock_get_dscp_class(pj_sock_t sock, 
    83                                              pj_sock_dscp_class *c); 
    8482 }}} 
    8583 
    86  The API will set the traffic type according to the DSCP class, for '''both''' Layer 2 and Layer 3 QoS setting, where it's available. If any of the layer QoS is not set/get-able, the API will silently ignore it. If '''both''' layers are not set/get-able, the API will return error. 
     84 The API will set the traffic type according to the DSCP class, for '''both''' Layer 2 and Layer 3 QoS setting, where it's available. If any of the layer QoS is not settable, the API will silently ignore it. If '''both''' layers are not setable, the API will return error. 
    8785 
    8886'''Limitations''' 
    8987 
    9088 Win32 may not be implemented due to the API mess above. 
     89 
     90 There is no ''get'' API for now, since it may be difficult to map the current socket (native) QoS values into PJLIB traffic classes. 
    9191 
    9292'''References'''