update gen_testdata
- add more packets - fix counter for one packet
This commit is contained in:
parent
71c842576a
commit
86885760b2
5 changed files with 114 additions and 9 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue