0b44a031
c8986266
1
2
3 4 5
6 7
8
#include <netinet/in.h> #include <byteswap.h> uint32_t htonl(uint32_t n) { union { int i; char c; } u = { 1 }; return u.c ? bswap_32(n) : n; }