[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] PPPoS : no response from modem after link established
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] PPPoS : no response from modem after link established |
Date: |
Sun, 8 Jul 2018 00:41:23 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Sergey,
On Sun, Jul 08, 2018 at 01:26:03AM +0300, Sergey A. Borshch wrote:
>
> Can I suggest to add some flag into netif to enable/disable software
> checksum calculation? Using this flag can be selectable at compile time #if
> (PPP_SUPPORT != 0) && (CHECKSUM_GEN_xxx == 0)
> add flag into netif, init it in ppp_create and use
> #else
> use CHECKSUM_GEN_xxx
> #endif
This is what LWIP_CHECKSUM_CTRL_PER_NETIF actually do. It is quite hard
to add fail to build conditions on CHECKSUM_GEN_* macros, we don't know
which prococols user is going to use (only UDP, only TCP, RAW IP
packets…).
Sylvain
signature.asc
Description: Digital signature