-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose TTL (on handshake) to applications (#4602)
* modify statistics * add winuser hoplimit-ttl support * rename to HandshakeTTL, change connection.c * add datapath test to assert hoplimit be > 0 * add winkernel hoplimit * add code to set TTL * fix spacing * implement raw socket parsing and add stubs for freeBSD and linux * comment out unused variable to get rid of build warnings * add epoll impl * remove invalid asserts, add missing flag * type cast to int * set epoll hoplimit instead of ip_ttl * ip hoplimit no exist on linux * gonna lean on the CI to see if we are crashing the socket init unit tests * comment out ipv6 * does IP_RECVTTL socket option exist for ipv6 on linux? * IPV6_HOPLIMIT the way to go? * stash; don't push * try IPV6_RECVHOPLIMIT * test code modifications * update datapath to be os version aware * add version checking for WS2022, bubble up info for the tests * fix typo for epoll, add winkernel checks * comment out printf to get winkernel to build * update comment and remove enabled features * increase timeout for netperf due to recent changes
- Loading branch information
1 parent
a275d74
commit c761886
Showing
13 changed files
with
270 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.