How to receive broadcast packets with NWEthernetChannel

Hi,

We have been able to successfully use NWEthernetChannel to send and receive packets with our custom protocol.

However, we don't see any incoming packets (with our protocol) if they have the broadcast destination (ff:ff:ff:ff:ff:ff).

I have verified that the packets in question are being received by the lower layers by doing a network capture with tcpdump - just that they don't show up on the NWEthernetChannel's receive handler.

Also there are no log entries from any layers (enabled --debug --info).

Is there something special that we need to do to enable receiving broadcast packets?

Thanks.
Devendra.

Replies

Seems like this is a bug, so I filed a feedback - FB9077424

Thanks.
Devendra.

I filed a feedback - FB9077424

Thanks!

I ran this past the team and they confirmed that, yeah, this is definitely a bug. It seems that you were the first to file here, so we’re going to use your bug to track it. I do not, alas, have any info to share as to when this will be fixed.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Thanks Quinn for the update!

Devendra.

For others who may land up here - this is now fixed in latest Monterey beta.

Thanks. Devendra.

Add a Comment