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

Want better integration of Internet checksums #6

Open
FelixMcFelix opened this issue Nov 22, 2024 · 0 comments
Open

Want better integration of Internet checksums #6

FelixMcFelix opened this issue Nov 22, 2024 · 0 comments

Comments

@FelixMcFelix
Copy link
Collaborator

OPTE currently has a lot of manual handling of Internet checksums for the types we expose here. Some things we maybe want to generate code for:

  • Computing and storing Internet checksum values for header bytes correctly.
  • Capture the notions of pseudoheaders, used between layers in a packet.
  • Tracking whether checksums include the body of a packet (e.g., IPv4 (header-only) vs. TCP/UDP), and including this data (split over multipel buffers?).
  • Computing Internet checksum over an arbitrary buffer. We can maybe pull htis in from OPTE.
  • Possible checksum validation.

These mechanisms should be optional, particularly when processing packets expecting offload of these capabilities.

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

No branches or pull requests

1 participant