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

Clarify docs of DeviceCapabilities MTU #392

Closed
Dirbaio opened this issue Dec 25, 2020 · 0 comments
Closed

Clarify docs of DeviceCapabilities MTU #392

Dirbaio opened this issue Dec 25, 2020 · 0 comments

Comments

@Dirbaio
Copy link
Member

Dirbaio commented Dec 25, 2020

The "MTU" in smoltcp is the max byte count that can be received/sent by the Device, including all headers. This means that it includes the Ethernet header, it's the "Ethernet MTU".

In contrast, Linux's "MTU" is the "IP MTU", not counting the Ethernet header.

This often creates confusion, the docs could be clarified to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant