D | wsm.c | 30 #define WSM_SKIP(buf, size) \ argument 37 #define WSM_GET(buf, ptr, size) \ argument 45 #define __WSM_GET(buf, type, type2, cvt) \ argument 55 #define WSM_GET8(buf) __WSM_GET(buf, u8, u8, (u8)) argument 56 #define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu) argument 57 #define WSM_GET32(buf) __WSM_GET(buf, u32, __le32, __le32_to_cpu) argument 59 #define WSM_PUT(buf, ptr, size) \ argument 68 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument 77 #define WSM_PUT8(buf, val) __WSM_PUT(buf, val, u8, u8, (u8)) argument 78 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16) argument [all …]
|