D | wsm.c | 27 #define WSM_SKIP(buf, size) \ argument 34 #define WSM_GET(buf, ptr, size) \ argument 42 #define __WSM_GET(buf, type, type2, cvt) \ argument 52 #define WSM_GET8(buf) __WSM_GET(buf, u8, u8, (u8)) argument 53 #define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu) argument 54 #define WSM_GET32(buf) __WSM_GET(buf, u32, __le32, __le32_to_cpu) argument 56 #define WSM_PUT(buf, ptr, size) \ argument 65 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument 74 #define WSM_PUT8(buf, val) __WSM_PUT(buf, val, u8, u8, (u8)) argument 75 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16) argument [all …]
|