[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] slip implementation bug
From: |
marek |
Subject: |
[lwip-users] slip implementation bug |
Date: |
Sun, 6 Feb 2005 19:38:28 +0100 (CET) |
User-agent: |
SquirrelMail/1.4.3a |
Hello
Suppose that we have two interfaces: ETERNET and SLIP. We must set
PBUF_LINK_HLEN to 14 for ethernet and what about SLIP then ??
I found in slipif_input:
p = pbuf_alloc(PBUF_LINK_HLEN, PBUF_POOL_BUFSIZE, PBUF_POOL);
this code is working only with PBUFS smaller than (PBUF_POOL_BUFSIZE -
PBUF_LINK_HLEN)
my solution is to use PBUF_RAW instead of PBUF_LINK_HLEN in slipif_init.
Any others idea ?
Mark
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] slip implementation bug,
marek <=