Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Packetdrill_tarr_ext
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stefan Gense
Packetdrill_tarr_ext
Commits
05461ad1
Commit
05461ad1
authored
9 years ago
by
Michael Tüxen
Browse files
Options
Downloads
Patches
Plain Diff
Add structure for I-DATA chunk header.
parent
b96154da
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gtests/net/packetdrill/sctp.h
+21
-0
21 additions, 0 deletions
gtests/net/packetdrill/sctp.h
with
21 additions
and
0 deletions
gtests/net/packetdrill/sctp.h
+
21
−
0
View file @
05461ad1
...
...
@@ -52,6 +52,7 @@ struct sctp_common_header {
#define SCTP_ECNE_CHUNK_TYPE 0x0c
#define SCTP_CWR_CHUNK_TYPE 0x0d
#define SCTP_SHUTDOWN_COMPLETE_CHUNK_TYPE 0x0e
#define SCTP_I_DATA_CHUNK_TYPE 0x40
#define SCTP_PAD_CHUNK_TYPE 0x84
#define MAX_SCTP_CHUNK_BYTES 0xffff
...
...
@@ -205,6 +206,26 @@ struct sctp_shutdown_complete_chunk {
__be16
length
;
}
__packed
;
#define SCTP_I_DATA_CHUNK_I_BIT 0x08
#define SCTP_I_DATA_CHUNK_U_BIT 0x04
#define SCTP_I_DATA_CHUNK_B_BIT 0x02
#define SCTP_I_DATA_CHUNK_E_BIT 0x01
struct
sctp_i_data_chunk
{
__u8
type
;
__u8
flags
;
__be16
length
;
__be32
tsn
;
__be16
sid
;
__be16
reserved
;
__be32
mid
;
union
{
__be32
ppid
;
__be32
fsn
;
}
field
;
__u8
data
[];
}
__packed
;
struct
sctp_pad_chunk
{
__u8
type
;
__u8
flags
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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