A union

union be_uint16_t

A 16 bit integer in big endian aka network byte order.

This is a wrapper around an uint16_t to catch missing conversions between different byte orders at compile time.

uint16_t u16

16 bit representation