Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust tcp-retransmit example #335

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

bobrik
Copy link
Contributor

@bobrik bobrik commented Dec 2, 2023

  • Rename mainport to main_port for consistency with the config
  • Remove extra level of indentation in the config file
  • Remove unused bpf_core_read.h include
  • Adjust main_port size as it doesn't need two bytes
  • Update the code to remove duplication between ipv4 and ipv6
  • Simplify map key initialization with {} rather than memset

* Rename `mainport` to `main_port` for consistency with the config
* Remove extra level of indentation in the config file
* Remove unused `bpf_core_read.h` include
* Adjust `main_port` size as it doesn't need two bytes
* Update the code to remove duplication between ipv4 and ipv6
* Simplify map key initialization with `{}` rather than `memset`
@bobrik bobrik mentioned this pull request Dec 2, 2023
@bobrik bobrik merged commit ad32af4 into cloudflare:master Dec 6, 2023
19 checks passed
@bobrik bobrik deleted the ivan/tcp-retransmit-adjust branch December 6, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant