update gen_testdata

- add more packets
- fix counter for one packet
This commit is contained in:
Nico Schottelius 2019-07-13 17:28:03 +02:00
commit 86885760b2
5 changed files with 114 additions and 9 deletions

View file

@ -65,6 +65,7 @@ class CpuHeader(Packet):
name = 'CpuPacket'
fields_desc = [
ShortEnumField('task', 1, cpu_fields ),
ShortField('ingress_port', 0),
XShortEnumField("type", 0x9000, ETHER_TYPES),
ShortEnumField('table_id', 1, table_id_fields )