mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-04 21:39:49 +00:00
Have PBUF_LINK_HLEN default to 14 bytes (for Ethernet).
This commit is contained in:
parent
98ba558fa5
commit
0e31ca73c0
@ -146,10 +146,10 @@ a lot of data that needs to be copied, this should be set high. */
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
|
/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
|
||||||
link level header. */
|
link level header. Defaults to 14 for Ethernet. */
|
||||||
|
|
||||||
#ifndef PBUF_LINK_HLEN
|
#ifndef PBUF_LINK_HLEN
|
||||||
#define PBUF_LINK_HLEN 0
|
#define PBUF_LINK_HLEN 14
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user