def __init__(self, name):
    FlagsField.__init__(self, name, 0, 4, ['a', 'b', 'c', 'd'])


class TotalStatus(Packet):
    name = '8 bit status'
fields_desc = [StatusField('axis0'), StatusField('axis1')]
Building scapy packets with PacketFields shorter than 8 bits