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
7fc924a5
Commit
7fc924a5
authored
9 years ago
by
hiren
Browse files
Options
Downloads
Patches
Plain Diff
A simple server-side test that sends exactly an initial window (IW10) worth of packets.
parent
0ba39f32
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gtests/net/packetdrill/tests/bsd/tcp/initial_window/iw10-base-case.pkt
+30
-0
30 additions, 0 deletions
...cketdrill/tests/bsd/tcp/initial_window/iw10-base-case.pkt
with
30 additions
and
0 deletions
gtests/net/packetdrill/tests/bsd/tcp/initial_window/iw10-base-case.pkt
0 → 100644
+
30
−
0
View file @
7fc924a5
// A simple server-side test that sends exactly an initial window (IW10)
// worth of packets.
// Create a listening TCP socket.
0.000 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
+0.005 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
+0.005 bind(3, ..., ...) = 0
+0.005 listen(3, 1) = 0
// Establish a TCP connection.
+0.035 < S 0:0(0) win 65535 <mss 1460, sackOK, eol, eol>
+0.000 > S. 0:0(0) ack 1 win 65535 <...>
+0.000 < . 1:1(0) ack 1 win 65535
+0.000 accept(3, ..., ...) = 4
0.200 write(4, ..., 14600) = 14600
+0 > . 1:1461(1460) ack 1
+0 > . 1461:2921(1460) ack 1
+0 > . 2921:4381(1460) ack 1
+0 > . 4381:5841(1460) ack 1
+0 > . 5841:7301(1460) ack 1
+0 > . 7301:8761(1460) ack 1
+0 > . 8761:10221(1460) ack 1
+0 > . 10221:11681(1460) ack 1
+0 > . 11681:13141(1460) ack 1
+0 > P. 13141:14601(1460) ack 1
0.300 < . 1:1(0) ack 14601 win 65535
0.400 close(4) = 0
0.401 > F. 14601:14601(0) ack 1
0.501 < F. 1:1(0) ack 14602 win 65535
0.502 > . 14602:14602(0) ack 2
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