lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] slip recvs corrupted packets (Was Re: tcp_connect is ab


From: christiaan . simons
Subject: Re: [lwip-users] slip recvs corrupted packets (Was Re: tcp_connect is aborted)
Date: Wed, 15 Dec 2004 12:15:01 +0100




address@hidden wrote on 15-12-2004
06:24:18:

> - init() for stats, mem, memp, pbuf, netif, ip, and tcp.

Looks fine.

> - netif_set_up(nif_sl);
> - netif_set_default(nif_sl);

I would reverse these, but it's not harmfull.

>     My program is single threaded, slipf_loop() appears to be designed
for
>     multithread programs?

I'll check this later.

>   - Call tcp_slowtmr() and tcp_fasttmr() very approximately every 200 &
500ms.

>
> Are there anythings in the above that sound incorrect? Are there any
> very likely errors one may make in doing the above?

Looks fine.

> These two example ip headers probably don't say anything obvious, but I
was
> curious if they might?

The IP checksum failure could be caused
by a malfunction in the slip driver.

I'm unfamliar with this code, but if it is true what you say
"slipf_loop() appears to be designed for  multithread programs"
then this might be the culprit.

Bye,
Christiaan

The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed. Axon Digital Design Group is neither liable for the proper nor
for the complete transmission of the information contained in this
communication nor for any delay in its receipt. Axon Digital Design Group
does not guarantee that the integrity of this communication has been
maintained nor that the communication is free of viruses, interceptions or
interference. If you are not the intended recipient of this communication,
you are hereby notified that reading, disseminating, distributing or
copying this message is strictly prohibited. In that case please return the
communication to the sender and delete and destroy all copies. In carrying
out its engagements, Axon Digital Design Group applies general terms and
conditions, which contain a clause that limits its liability. A copy of
these terms and conditions is available on request free of charge.





reply via email to

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