[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [lwip-users] filter broadcast packet

From: Piero 74
Subject: [lwip-devel] [lwip-users] filter broadcast packet
Date: Fri, 25 Jan 2008 11:58:08 +0100

Hi all

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.

Bye, Piero

reply via email to

[Prev in Thread] Current Thread [Next in Thread]