Searched refs:swap16 (Results 1 – 3 of 3) sorted by relevance
123 #undef swap16128 #define swap32(_v) (((u32)swap16((u16)(_v))<<16)|(u32)swap16((u32)((_v)>>16)))137 eh->e_type = swap16(eh->e_type); in endianadjust_ehdr32()138 eh->e_machine = swap16(eh->e_machine); in endianadjust_ehdr32()144 eh->e_ehsize = swap16(eh->e_ehsize); in endianadjust_ehdr32()146 eh->e_phnum = swap16(eh->e_phnum); in endianadjust_ehdr32()148 eh->e_shnum = swap16(eh->e_shnum); in endianadjust_ehdr32()156 eh->e_type = swap16(eh->e_type); in endianadjust_ehdr64()163 eh->e_ehsize = swap16(eh->e_ehsize); in endianadjust_ehdr64()165 eh->e_phnum = swap16(eh->e_phnum); in endianadjust_ehdr64()[all …]
6 #define swap16(x) bswap_16(x) macro15 #define htons(x) swap16(x)16 #define ntohs(x) swap16(x)
59 #define bswap_16(x) swap16(x)
Completed in 4 milliseconds