Use bitfields for flags in the "addr" struct