|Subject:||[lwip-devel] Re: [lwip-users] filter broadcast packet|
|Date:||Fri, 25 Jan 2008 12:24:28 +0100|
I want to reduce cpu overhead in my board, running lwip.
My board will be placed as in big network as in small network.
I know that it will receive a lot of broadcast packets, and i want to filter them in the emac driver code, without call lwip stack.
So, my idea is:
1. configure emac HW for accepting all broadcast packet
2. in irq function, when new packet arrives, check if it's BROADCAST and if it has ARP value as ethernet type: ONLY in this case pass packet to lwip stack. In OTHER case discards packet.
Are there other packet type rather than ARP which are sent using broadcast mac address? (FF:FF:FF:FF:FF:FF)
Thanks for answers.
|[Prev in Thread]||Current Thread||[Next in Thread]|