In particular rabbit_upload makes assumptions about struct layout on the host (little-endian, 16-bit struct members aligned to 16 bits, 32-bit struct members aligned to 32 bits), that happen to hold on x86 and amd64. These should be fixed to make OpenRabbit work on other hosts.