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

Subnet broadcasts #324

Closed
wants to merge 3 commits into from
Closed

Conversation

MabezDev
Copy link
Contributor

Currently smoltcp only respondes to physical layer broadcasts (255.255.255.255), this PR enables the iface to respond to subnet broadcasts, as discussed in https://tools.ietf.org/html/rfc917 chapter 8.

Questions

  • Should this check be applied to all ip_addrs associated with the iface?

Adds `is_local_broadcast` to the ethernet interface which checks for subnet broadcasts, which are discussed on page 8 in https://tools.ietf.org/html/rfc917. The subnet broadcast
address is derived from the first ipv4 address on the ethernet interface
only.
MabezDev added a commit to MabezDev/smoltcp that referenced this pull request Feb 13, 2020
@MabezDev MabezDev closed this Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant