[Top][All Lists]

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

[lwip-devel] [task #6827] etharp could need some tuning

From: Simon Goldschmidt
Subject: [lwip-devel] [task #6827] etharp could need some tuning
Date: Sat, 16 Jun 2007 12:05:38 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070515 Firefox/

Follow-up Comment #33, task #6827 (project lwip):

Since struct eth_addr->addr is always 6 bytes long, it doesn't make sense to
always fetch netif->hwaddrlen.

I would always copy 6 bytes (the file _is_ called etharp.c after all) and add
an assert that netif->hwaddrlen is set to 6.

Any objections?


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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