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

[WIP] Add support for large UDP packets #29

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bjosv
Copy link

@bjosv bjosv commented Feb 7, 2024

This is an initial implementation to handle UDP data that wont fit in a single IP packet due to the MTU size.
Sent data is put in IPv4 fragments and incoming fragments are defragmented.

This is mainly a PR to request input for the idea and I believe some refactoration and improvements are needed.

It's been function-tested via a TAP interface and running a script like this.

Any comments or ideas are welcomed.
Adresses #25

bjosv added 4 commits January 22, 2024 14:00
No need to handle return value from buildDpkt() since only return ok.

Signed-off-by: Björn Svensson <[email protected]>
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