BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB Reference

sock_qos.h File Reference

Socket QoS API. More...

Go to the source code of this file.

Data Structures

struct  pj_qos_params
 

Enumerations

enum  pj_qos_type {
  PJ_QOS_TYPE_BEST_EFFORT, PJ_QOS_TYPE_BACKGROUND, PJ_QOS_TYPE_VIDEO, PJ_QOS_TYPE_VOICE,
  PJ_QOS_TYPE_CONTROL
}
 
enum  pj_qos_flag { PJ_QOS_PARAM_HAS_DSCP = 1, PJ_QOS_PARAM_HAS_SO_PRIO = 2, PJ_QOS_PARAM_HAS_WMM = 4 }
 
enum  pj_qos_wmm_prio { PJ_QOS_WMM_PRIO_BULK_EFFORT, PJ_QOS_WMM_PRIO_BULK, PJ_QOS_WMM_PRIO_VIDEO, PJ_QOS_WMM_PRIO_VOICE }
 

Functions

pj_status_t pj_sock_set_qos_type (pj_sock_t sock, pj_qos_type type)
 
pj_status_t pj_sock_get_qos_type (pj_sock_t sock, pj_qos_type *p_type)
 
pj_status_t pj_sock_apply_qos (pj_sock_t sock, pj_qos_type qos_type, pj_qos_params *qos_params, unsigned log_level, const char *log_sender, const char *sock_name)
 
pj_status_t pj_sock_apply_qos2 (pj_sock_t sock, pj_qos_type qos_type, const pj_qos_params *qos_params, unsigned log_level, const char *log_sender, const char *sock_name)
 
pj_status_t pj_qos_get_params (pj_qos_type type, pj_qos_params *p_param)
 
pj_status_t pj_qos_get_type (const pj_qos_params *param, pj_qos_type *p_type)
 
pj_status_t pj_sock_set_qos_params (pj_sock_t sock, pj_qos_params *param)
 
pj_status_t pj_sock_get_qos_params (pj_sock_t sock, pj_qos_params *p_param)
 

Detailed Description

Socket QoS API.

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.