Changeset 1923
- Timestamp:
- Apr 10, 2008 10:24:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_msg.h
r1888 r1923 1031 1031 * Get protocol value from 32bit TURN REQUESTED-TRANSPORT attribute. 1032 1032 */ 1033 #define PJ_STUN_GET_RT_PROTO(u32) ( pj_ntohl(u32)>> 24)1033 #define PJ_STUN_GET_RT_PROTO(u32) (u32 >> 24) 1034 1034 1035 1035 /** … … 1037 1037 * attribute. 1038 1038 */ 1039 #define PJ_STUN_SET_RT_PROTO(proto) pj_htonl(((pj_uint32_t)(proto)) << 24)1039 #define PJ_STUN_SET_RT_PROTO(proto) (((pj_uint32_t)(proto)) << 24) 1040 1040 1041 1041
Note: See TracChangeset
for help on using the changeset viewer.