Created
June 28, 2023 01:40
-
-
Save chantra/ecbab0e99489d2d6918885ddf4f48026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ diff -riN tcp/zerocopy/fastopen-client.pkt tcp/zerocopy/fastopen-client-wscale-wildcard.pkt | |
--- tcp/zerocopy/fastopen-client.pkt 2023-06-27 18:36:22.956369457 -0700 | |
+++ tcp/zerocopy/fastopen-client-wscale-wildcard.pkt 2023-06-27 18:37:29.306312093 -0700 | |
@@ -14,7 +14,7 @@ | |
+0 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 | |
+0 setsockopt(3, SOL_SOCKET, SO_ZEROCOPY, [1], 4) = 0 | |
+0 sendto(3, ..., 500, MSG_FASTOPEN|MSG_ZEROCOPY, ..., ...) = -1 EINPROGRESS (Operation now in progress) | |
- +0 > S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 8,FO,nop,nop> | |
+ +0 > S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale *,FO,nop,nop> | |
+.01 < S. 123:123(0) ack 1 win 14600 <mss 940,TS val 2000 ecr 1000,sackOK,nop,wscale 6, FO abcd1234,nop,nop> | |
+0 > . 1:1(0) ack 1 <nop,nop,TS val 1001 ecr 2000> | |
@@ -35,7 +35,7 @@ | |
+0 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0 | |
+0 setsockopt(5, SOL_SOCKET, SO_ZEROCOPY, [1], 4) = 0 | |
+0 sendto(5, ..., 500, MSG_FASTOPEN|MSG_ZEROCOPY, ..., ...) = 500 | |
- +0 > S 0:500(500) <mss 1460,nop,nop,sackOK,nop,wscale 8,FO abcd1234,nop,nop> | |
+ +0 > S 0:500(500) <mss 1460,nop,nop,sackOK,nop,wscale *,FO abcd1234,nop,nop> | |
+.05 < S. 5678:5678(0) ack 501 win 14600 <mss 1460,nop,nop,sackOK,nop,wscale 6> | |
+0 > . 501:501(0) ack 1 | |
[18:37:36] chantra@devvm7037:net (wscale_wildcard) $ sudo ./packetdrill/run_all.py -S -v -L -l tcp/zerocopy/fastopen-client.pkt | |
FAIL [/data/users/chantra/google-packetdrill/gtests/net/tcp/zerocopy/fastopen-client.pkt (ipv4)] | |
stdout: | |
stderr: | |
fastopen-client.pkt:17: error handling packet: bad value outbound TCP option 3 | |
script packet: 0.000115 S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 8,FO,nop,nop> | |
actual packet: 0.000105 S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 9,FO,nop,nop> | |
FAIL [/data/users/chantra/google-packetdrill/gtests/net/tcp/zerocopy/fastopen-client.pkt (ipv6)] | |
stdout: | |
stderr: | |
fastopen-client.pkt:17: error handling packet: bad value outbound TCP option 3 | |
script packet: 0.000131 S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 8,FO,nop,nop> | |
actual packet: 0.000120 S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 9,FO,nop,nop> | |
FAIL [/data/users/chantra/google-packetdrill/gtests/net/tcp/zerocopy/fastopen-client.pkt (ipv4-mapped-v6)] | |
stdout: | |
stderr: | |
fastopen-client.pkt:17: error handling packet: bad value outbound TCP option 3 | |
script packet: 0.000140 S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 8,FO,nop,nop> | |
actual packet: 0.000130 S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 9,FO,nop,nop> | |
Ran 3 tests: 0 passing, 3 failing, 0 timed out (2.68 sec): tcp/zerocopy/fastopen-client.pkt | |
[18:37:47] chantra@devvm7037:net (wscale_wildcard) $ sudo ./packetdrill/run_all.py -S -v -L -l tcp/zerocopy/fastopen-client-wscale-wildcard.pkt | |
OK [/data/users/chantra/google-packetdrill/gtests/net/tcp/zerocopy/fastopen-client-wscale-wildcard.pkt (ipv4)] | |
stdout: | |
stderr: | |
OK [/data/users/chantra/google-packetdrill/gtests/net/tcp/zerocopy/fastopen-client-wscale-wildcard.pkt (ipv6)] | |
stdout: | |
stderr: | |
OK [/data/users/chantra/google-packetdrill/gtests/net/tcp/zerocopy/fastopen-client-wscale-wildcard.pkt (ipv4-mapped-v6)] | |
stdout: | |
stderr: | |
Ran 3 tests: 3 passing, 0 failing, 0 timed out (7.91 sec): tcp/zerocopy/fastopen-client-wscale-wildcard.pkt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment