Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EtherBone Core
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
EtherBone Core
Commits
4d854cb0
Commit
4d854cb0
authored
2 years ago
by
Mathias Kreider
Browse files
Options
Downloads
Patches
Plain Diff
Fixed data types in wireshark eb lua dissector
parent
2cafbf68
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spec/etherbone.lua
+3
-3
3 additions, 3 deletions
spec/etherbone.lua
with
3 additions
and
3 deletions
spec/etherbone.lua
+
3
−
3
View file @
4d854cb0
...
@@ -53,7 +53,7 @@ proto_eb = Proto("eb", "Etherbone")
...
@@ -53,7 +53,7 @@ proto_eb = Proto("eb", "Etherbone")
-- Declare its fields
-- Declare its fields
local
eb
=
proto_eb
.
fields
local
eb
=
proto_eb
.
fields
eb
.
hdr
=
ProtoField
.
uint32
(
"eb.hdr"
,
"Header"
,
base
.
HEX
)
eb
.
hdr
=
ProtoField
.
uint32
(
"eb.hdr"
,
"Header"
,
base
.
HEX
)
eb
.
rec
=
ProtoField
.
bytes
(
"eb.rec"
,
"Record "
,
base
.
HEX
)
eb
.
rec
=
ProtoField
.
bytes
(
"eb.rec"
,
"Record "
,
base
.
NONE
)
eb
.
hdr_magic
=
ProtoField
.
uint16
(
"eb.hdr.magic"
,
"Magic "
,
base
.
HEX
,
nil
,
0xFFFF
)
eb
.
hdr_magic
=
ProtoField
.
uint16
(
"eb.hdr.magic"
,
"Magic "
,
base
.
HEX
,
nil
,
0xFFFF
)
eb
.
hdr_ver
=
ProtoField
.
uint16
(
"eb.hdr.ver"
,
"Version "
,
base
.
DEC
,
nil
,
0xF000
)
eb
.
hdr_ver
=
ProtoField
.
uint16
(
"eb.hdr.ver"
,
"Version "
,
base
.
DEC
,
nil
,
0xF000
)
...
@@ -64,8 +64,8 @@ eb.hdr_adrs = ProtoField.uint16("eb.hdr.adrw", "Address Width ", base.DEC, VA
...
@@ -64,8 +64,8 @@ eb.hdr_adrs = ProtoField.uint16("eb.hdr.adrw", "Address Width ", base.DEC, VA
eb
.
hdr_ports
=
ProtoField
.
uint16
(
"eb.hdr.portw"
,
"Port Width "
,
base
.
DEC
,
VALS_SIZE
,
0x000F
)
eb
.
hdr_ports
=
ProtoField
.
uint16
(
"eb.hdr.portw"
,
"Port Width "
,
base
.
DEC
,
VALS_SIZE
,
0x000F
)
eb
.
rec_hdr
=
ProtoField
.
uint32
(
"eb.rec.hdr"
,
"Header "
,
base
.
HEX
)
eb
.
rec_hdr
=
ProtoField
.
uint32
(
"eb.rec.hdr"
,
"Header "
,
base
.
HEX
)
eb
.
rec_writes
=
ProtoField
.
bytes
(
"eb.rec.writes"
,
"Writes "
,
base
.
HEX
)
eb
.
rec_writes
=
ProtoField
.
bytes
(
"eb.rec.writes"
,
"Writes "
,
base
.
NONE
)
eb
.
rec_reads
=
ProtoField
.
bytes
(
"eb.rec.reads"
,
"Reads "
,
base
.
HEX
)
eb
.
rec_reads
=
ProtoField
.
bytes
(
"eb.rec.reads"
,
"Reads "
,
base
.
NONE
)
eb
.
rec_hdr_flags
=
ProtoField
.
uint8
(
"eb.rec.hdr.flags"
,
"Flags "
,
base
.
HEX
)
eb
.
rec_hdr_flags
=
ProtoField
.
uint8
(
"eb.rec.hdr.flags"
,
"Flags "
,
base
.
HEX
)
eb
.
rec_hdr_select
=
ProtoField
.
uint8
(
"eb.rec.hdr.select"
,
"Select "
,
base
.
HEX
)
eb
.
rec_hdr_select
=
ProtoField
.
uint8
(
"eb.rec.hdr.select"
,
"Select "
,
base
.
HEX
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment