- Timestamp:
- Oct 5, 2016 9:52:39 AM (8 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 1 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r5431 r5445 5825 5825 ;; 5826 5826 esac 5827 # QoS 5828 case $target in 5829 *darwin*) 5830 ;; 5831 *) 5832 ac_os_objs="$ac_os_objs sock_qos_bsd.o" 5833 ;; 5834 esac 5827 5835 # UUID 5828 5836 case $target in … … 5843 5851 case $target in 5844 5852 *darwin*) 5845 ac_os_objs="$ac_os_objs os_core_darwin.o"5853 ac_os_objs="$ac_os_objs sock_qos_darwin.o os_core_darwin.o" 5846 5854 ;; 5847 5855 esac -
pjproject/trunk/aconfigure.ac
r5431 r5445 463 463 ;; 464 464 esac 465 # QoS 466 case $target in 467 *darwin*) 468 ;; 469 *) 470 ac_os_objs="$ac_os_objs sock_qos_bsd.o" 471 ;; 472 esac 465 473 # UUID 466 474 case $target in … … 481 489 case $target in 482 490 *darwin*) 483 ac_os_objs="$ac_os_objs os_core_darwin.o"491 ac_os_objs="$ac_os_objs sock_qos_darwin.o os_core_darwin.o" 484 492 ;; 485 493 esac -
pjproject/trunk/pjlib/build/Makefile
r4727 r5445 35 35 guid.o hash.o ip_helper_generic.o list.o lock.o log.o os_time_common.o \ 36 36 os_info.o pool.o pool_buf.o pool_caching.o pool_dbg.o rand.o \ 37 rbtree.o sock_common.o sock_qos_common.o sock_qos_bsd.o\37 rbtree.o sock_common.o sock_qos_common.o \ 38 38 ssl_sock_common.o ssl_sock_ossl.o ssl_sock_dump.o \ 39 39 string.o timer.o types.o -
pjproject/trunk/pjlib/build/os-darwinos.mak
r4656 r5445 19 19 export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o 20 20 21 export PJLIB_OBJS += sock_qos_darwin.o 22 21 23 # 22 24 # TEST_OBJS are operating system specific object files to be included in -
pjproject/trunk/pjlib/build/os-linux-kernel.mak
r4656 r5445 21 21 export PJLIB_OBJS += ioqueue_epoll.o 22 22 #export PJLIB_OBJS += ioqueue_select.o 23 24 export PJLIB_OBJS += sock_qos_bsd.o 23 25 24 26 # -
pjproject/trunk/pjlib/build/os-linux.mak
r4656 r5445 21 21 endif 22 22 23 export PJLIB_OBJS += sock_qos_bsd.o 24 23 25 # 24 26 # TEST_OBJS are operating system specific object files to be included in -
pjproject/trunk/pjlib/build/os-rtems.mak
r4656 r5445 19 19 export PJLIB_OBJS += ioqueue_select.o 20 20 export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o 21 export PJLIB_OBJS += sock_qos_bsd.o 21 22 22 23 # -
pjproject/trunk/pjlib/build/os-sunos.mak
r4656 r5445 18 18 #export PJLIB_OBJS += ioqueue_epoll.o 19 19 20 export PJLIB_OBJS += sock_qos_bsd.o 21 20 22 # 21 23 # TEST_OBJS are operating system specific object files to be included in -
pjproject/trunk/pjlib/build/os-win32.mak
r4656 r5445 20 20 #export PJLIB_OBJS += file_io_ansi.o 21 21 22 export PJLIB_OBJS += sock_qos_bsd.o 23 22 24 # 23 25 # TEST_OBJS are operating system specific object files to be included in -
pjproject/trunk/pjlib/include/pj/compat/socket.h
r5420 r5445 160 160 # define OSERR_ENOTCONN WSAENOTCONN 161 161 # define OSERR_EAFNOSUPPORT WSAEAFNOSUPPORT 162 # define OSERR_ENOPROTOOPT WSAENOPROTOOPT 162 163 #elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 163 164 # define OSERR_EWOULDBLOCK -1 … … 166 167 # define OSERR_ENOTCONN -1 167 168 # define OSERR_EAFNOSUPPORT -1 169 # define OSERR_ENOPROTOOPT -1 168 170 #else 169 171 # define OSERR_EWOULDBLOCK EWOULDBLOCK … … 172 174 # define OSERR_ENOTCONN ENOTCONN 173 175 # define OSERR_EAFNOSUPPORT EAFNOSUPPORT 176 # define OSERR_ENOPROTOOPT ENOPROTOOPT 174 177 #endif 175 178 -
pjproject/trunk/pjlib/include/pj/config.h
r5396 r5445 842 842 /** QoS backend for Symbian */ 843 843 #define PJ_QOS_SYMBIAN 4 844 845 /** QoS backend for Darwin */ 846 #define PJ_QOS_DARWIN 5 844 847 845 848 /** -
pjproject/trunk/pjlib/include/pj/sock_qos.h
r3553 r5445 122 122 { 123 123 PJ_QOS_TYPE_BEST_EFFORT, 124 PJ_QOS_TYPE_BACKGROUND, 124 PJ_QOS_TYPE_BACKGROUND, 125 125 PJ_QOS_TYPE_VIDEO, 126 126 PJ_QOS_TYPE_VOICE, 127 PJ_QOS_TYPE_CONTROL 127 PJ_QOS_TYPE_CONTROL, 128 PJ_QOS_TYPE_SIGNALLING 128 129 } pj_qos_type; 129 130 \endcode … … 142 143 VOICE 0x30 VO (Voice) 6 143 144 CONTROL 0x38 VO (Voice) 7 145 SIGNALLING 0x28 VI (Video) 5 144 146 ================================================================= 145 147 \endcode … … 236 238 Any QoS function calls with specifying 237 239 this value are effectively no-op */ 238 PJ_QOS_TYPE_BACKGROUND, /**< Background traffic. */ 240 PJ_QOS_TYPE_BACKGROUND, /**< Background traffic. */ 239 241 PJ_QOS_TYPE_VIDEO, /**< Video traffic. */ 240 242 PJ_QOS_TYPE_VOICE, /**< Voice traffic. */ 241 PJ_QOS_TYPE_CONTROL /**< Control traffic. */ 243 PJ_QOS_TYPE_CONTROL, /**< Control traffic. */ 244 PJ_QOS_TYPE_SIGNALLING /**< Signalling traffic. */ 242 245 } pj_qos_type; 243 246 -
pjproject/trunk/pjlib/src/pj/sock_qos_common.c
r3553 r5445 32 32 /* flags dscp prio wmm_prio */ 33 33 {ALL_FLAGS, 0x00, 0, PJ_QOS_WMM_PRIO_BULK_EFFORT}, /* BE */ 34 {ALL_FLAGS, 0x08, 2, PJ_QOS_WMM_PRIO_BULK}, /* BK */ 34 {ALL_FLAGS, 0x08, 2, PJ_QOS_WMM_PRIO_BULK}, /* BK */ 35 35 {ALL_FLAGS, 0x28, 5, PJ_QOS_WMM_PRIO_VIDEO}, /* VI */ 36 36 {ALL_FLAGS, 0x30, 6, PJ_QOS_WMM_PRIO_VOICE}, /* VO */ 37 {ALL_FLAGS, 0x38, 7, PJ_QOS_WMM_PRIO_VOICE} /* CO */ 37 {ALL_FLAGS, 0x38, 7, PJ_QOS_WMM_PRIO_VOICE}, /* CO */ 38 {ALL_FLAGS, 0x28, 5, PJ_QOS_WMM_PRIO_VIDEO} /* SIG */ 38 39 }; 39 40
Note: See TracChangeset
for help on using the changeset viewer.