Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
0f2e6017
Commit
0f2e6017
authored
Mar 21, 2018
by
Brendan Gregg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ipv6 struct alignment
parent
bbd9acd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tools/tcpstates.py
tools/tcpstates.py
+4
-4
No files found.
tools/tcpstates.py
View file @
0f2e6017
...
...
@@ -70,9 +70,9 @@ struct ipv4_data_t {
u64 ts_us;
u64 skaddr;
u64 pid;
u64 ports;
u64 saddr;
u64 daddr;
u64 ports;
u64 span_us;
u64 oldstate;
u64 newstate;
...
...
@@ -84,9 +84,9 @@ struct ipv6_data_t {
u64 ts_us;
u64 skaddr;
u64 pid;
u64 ports;
unsigned __int128 saddr;
unsigned __int128 daddr;
u64 ports;
u64 span_us;
u64 oldstate;
u64 newstate;
...
...
@@ -193,9 +193,9 @@ class Data_ipv4(ct.Structure):
(
"ts_us"
,
ct
.
c_ulonglong
),
(
"skaddr"
,
ct
.
c_ulonglong
),
(
"pid"
,
ct
.
c_ulonglong
),
(
"ports"
,
ct
.
c_ulonglong
),
(
"saddr"
,
ct
.
c_ulonglong
),
(
"daddr"
,
ct
.
c_ulonglong
),
(
"ports"
,
ct
.
c_ulonglong
),
(
"span_us"
,
ct
.
c_ulonglong
),
(
"oldstate"
,
ct
.
c_ulonglong
),
(
"newstate"
,
ct
.
c_ulonglong
),
...
...
@@ -207,9 +207,9 @@ class Data_ipv6(ct.Structure):
(
"ts_us"
,
ct
.
c_ulonglong
),
(
"skaddr"
,
ct
.
c_ulonglong
),
(
"pid"
,
ct
.
c_ulonglong
),
(
"ports"
,
ct
.
c_ulonglong
),
(
"saddr"
,
(
ct
.
c_ulonglong
*
2
)),
(
"daddr"
,
(
ct
.
c_ulonglong
*
2
)),
(
"ports"
,
ct
.
c_ulonglong
),
(
"span_us"
,
ct
.
c_ulonglong
),
(
"oldstate"
,
ct
.
c_ulonglong
),
(
"newstate"
,
ct
.
c_ulonglong
),
...
...
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