uint8_t bitrev_byte(uint8_t byte)
Reverse the bits in a single byte.
void bitrev_array_copy(const uint8_t *input, uint8_t *output, size_t len)
Reverse bits in all bytes of an array (copy to output)
void bitrev_array(uint8_t *data, size_t len)
Reverse bits in all bytes of an array (in-place)
static void input(void)
Process a received 6lowpan packet.