Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
EtherBone Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
EtherBone Core
Commits
4d854cb0
Commit
4d854cb0
authored
Jan 26, 2023
by
Mathias Kreider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed data types in wireshark eb lua dissector
parent
2cafbf68
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
etherbone.lua
spec/etherbone.lua
+3
-3
No files found.
spec/etherbone.lua
View file @
4d854cb0
...
...
@@ -53,7 +53,7 @@ proto_eb = Proto("eb", "Etherbone")
-- Declare its fields
local
eb
=
proto_eb
.
fields
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_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
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_writes
=
ProtoField
.
bytes
(
"eb.rec.writes"
,
"Writes "
,
base
.
HEX
)
eb
.
rec_reads
=
ProtoField
.
bytes
(
"eb.rec.reads"
,
"Reads "
,
base
.
HEX
)
eb
.
rec_writes
=
ProtoField
.
bytes
(
"eb.rec.writes"
,
"Writes "
,
base
.
NONE
)
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_select
=
ProtoField
.
uint8
(
"eb.rec.hdr.select"
,
"Select "
,
base
.
HEX
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment