NET: Standardize naming of all protocal header lengths

This commit is contained in:
Gregory Nutt
2014-07-05 13:04:48 -06:00
parent c2fc299332
commit c5fc24e110
38 changed files with 127 additions and 128 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ void netdriver_loop(void)
* MAC address
*/
if (g_sim_dev.d_len > NET_LLH_LEN && up_comparemac(BUF->ether_dhost, &g_sim_dev.d_mac) == 0)
if (g_sim_dev.d_len > NET_LL_HDRLEN && up_comparemac(BUF->ether_dhost, &g_sim_dev.d_mac) == 0)
{
/* We only accept IP packets of the configured type and ARP packets */