Prevent non-unicast addresses from polluting the ARP cache.

This commit is contained in:
likewise
2004-05-05 23:47:33 +00:00
parent e2bc8e86e2
commit 273612b251
2 changed files with 33 additions and 22 deletions

View File

@@ -49,6 +49,8 @@ struct eth_addr {
};
struct eth_hdr {
/* Ethernet header is 14 bytes, this breaks natural alignment on
* subsequent (TCP/IP) protocol header fields. */
#if ETH_PAD_SIZE
u8_t padding[ETH_PAD_SIZE];
#endif