lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] ETH_PAD_SIZE


From: Christiaan Simons
Subject: Re: [lwip-users] ETH_PAD_SIZE
Date: Tue, 4 Jul 2006 10:46:20 +0200

Hi Frédéric,

> Where is the best file to redefine ETH_PAD_SIZE ? I suppose that
> lwipopts.h is the good location, but in ETH_PAD_SIZE is defined in
> etharp.h, but before any include.

Yes, lwipopts.h is ok.

> Isn't it better to move the
> #define ETH_PAD_SIZE, after all #include in etharp.h? Or to add
> #include "lwip/opt.h" before ?

Yes, at least after "lwip/opt.h" so your lwipopts define overrules the
etharp.h one.
I don't know what the purpose of this define is, maybe it is some alignment
fix or workaround.

Bye,

Christiaan Simons

Hardware Designer
Axon Digital Design

http://www.axon.tv





reply via email to

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