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
IPv4 multicast datagrams can't be received for mimxrt1064_evk board (missing ethernet API) #26585
Comments
For IPv6 there is |
@jukkar i've looked at the driver and adding the driver part is not difficult we have to re-purpose |
Yes, we need to join/leave multicast group when IPv4 address is added/removed to/from network interface. Sorry for not being more clear in my words above. So this would need to be implemented, basically the functionality should be similar as with IPv6. |
On the issue of adding join/leave API, is this something that is generically needed across all drivers? Also, if we add the .set_config would that be enough to close this ticket? |
Probably yes, typically (at least for IPv6 mcast msg) the driver needs to program the Ethernet controller so that it can receive the multicast packets.
We have an API where a driver can register a function to be called when net stack joins/leaves a multicast group. Right now that API supports only IPv6 addresses. That API would need to be extended to support also IPv4 addresses. See for example But this is only part of the story as also network stack would need to support IPv4 multicast handling similar way as what have been done for IPv6. Right now there is an API to add a IPv4 multicast address to the network interface |
@jukkar, If I'm understanding you then it seems like this isn't a platform specific bug? |
@dleach02 First of all, this is not a bug, we are just missing a feature. And second, this is not a platform specific issue. |
Cool... so @jukkar we can convert this to an enhancement request then? |
Yep, done. |
Make multicast group join/leave monitor support both IPv6 and IPv4 addresses. Fixes zephyrproject-rtos#26585 Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
Make multicast group join/leave monitor support both IPv6 and IPv4 addresses. Fixes #26585 Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
Make multicast group join/leave monitor support both IPv6 and IPv4 addresses. Fixes zephyrproject-rtos#26585 Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
Describe the bug
IPv4 multicast datagrams can't be received for mimxrt1064_evk board (missing ethernet API).
In order to support IPv4 multicast datagrams, it is necessary to modify the mimxrt1064_evk ethernet driver API to join a multicast group.
For mimxrt1064, it is the file eth_mcux.c, which could provide the configuration function set_config to add or remove a multicast source adress filter to the interface.
To Reproduce
Try to receive UDP ipv4 multicast datagrams.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: