Changeset 1880 for pjproject/trunk
- Timestamp:
- Mar 20, 2008 6:26:26 PM (17 years ago)
- Location:
- pjproject/trunk/pjnath/include/pjnath
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_msg.h
r1877 r1880 1025 1025 * Get protocol value from 32bit TURN REQUESTED-TRANSPORT attribute. 1026 1026 */ 1027 #define PJ_STUN_GET_RT_PROTO(u32) ( u32>> 24)1027 #define PJ_STUN_GET_RT_PROTO(u32) (pj_ntohl(u32) >> 24) 1028 1028 1029 1029 /** … … 1031 1031 * attribute. 1032 1032 */ 1033 #define PJ_STUN_SET_RT_PROTO(proto) (((pj_uint32_t)(proto)) << 24)1033 #define PJ_STUN_SET_RT_PROTO(proto) pj_htonl(((pj_uint32_t)(proto)) << 24) 1034 1034 1035 1035 -
pjproject/trunk/pjnath/include/pjnath/turn_session.h
r1867 r1880 59 59 typedef enum pj_turn_tp_type 60 60 { 61 PJ_TURN_TP_UDP = 1 6, /**< UDP. */61 PJ_TURN_TP_UDP = 17, /**< UDP. */ 62 62 PJ_TURN_TP_TCP = 6, /**< TCP. */ 63 63 PJ_TURN_TP_TLS = 256 /**< TLS. */
Note: See TracChangeset
for help on using the changeset viewer.