lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] problem with v1.1.0?


From: Roger Kinkead
Subject: [lwip-users] problem with v1.1.0?
Date: Fri, 21 Jan 2005 00:31:50 -0000

Hi all,

I have been attempting to port lwip over an existing 0.7.1 implementation.
The test program opens a listening socket for an incoming telnet in order to
respond with a simple "hello" message.

The behaviour on 1.1.0 is strange, and I have dumped data out from
low_level_output and low_level_input to capture the exchanges....

(RX is received into LWIP stack (from PC) and TX is outgoing from the LWIP
stack)


Setting IP address to: 192.168.0.9
Setting netmask to: 255.255.255.0
Setting gateway address to: 192.168.0.1
netif_add...low_level_init
OK
netif_set_default...OK
listen...
<RX

0000: ff ff ff ff ff ff 00 0c 6e 22 84 b0 08 06 00 01
0010: 08 00 06 04 00 01 00 0c 6e 22 84 b0 c0 a8 00 03
0020: 00 00 00 00 00 00 c0 a8 00 09 00 00 00 00 00 00
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 4e
>

after this receive packet (the telnet connection to the lwip?) the stack
sends this...

<TX

0000: 00 0c 6e 22 84 b0 00 07 ed 0b a8 36 08 06 00 01
0010: 08 00 06 04 00 02 00 07 ed 0b a8 36 c0 a8 00 09
0020: 00 0c 6e 22 84 b0 c0 a8 00 03 00 00 00 00 00 00
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 4e
>

...and then never transmits anything ever again, the PC carries on sending
the following...

<RX

0000: 00 07 ed 0b a8 36 00 0c 6e 22 84 b0 08 00 45 00
0010: 00 30 4c 90 40 00 80 06 2c db c0 a8 00 03 c0 a8
0020: 00 09 06 e5 00 17 d7 65 54 cb 00 00 00 00 70 02
0030: ff ff ce 95 00 00 02 04 05 b4 01 01 04 02 04 40
>
<RX

0000: 00 07 ed 0b a8 36 00 0c 6e 22 84 b0 08 00 45 00
0010: 00 30 4c a9 40 00 80 06 2c c2 c0 a8 00 03 c0 a8
0020: 00 09 06 e5 00 17 d7 65 54 cb 00 00 00 00 70 02
0030: ff ff ce 95 00 00 02 04 05 b4 01 01 04 02 04 40
>
<RX

0000: 00 07 ed 0b a8 36 00 0c 6e 22 84 b0 08 00 45 00
0010: 00 30 4c bc 40 00 80 06 2c af c0 a8 00 03 c0 a8
0020: 00 09 06 e5 00 17 d7 65 54 cb 00 00 00 00 70 02
0030: ff ff ce 95 00 00 02 04 05 b4 01 01 04 02 04 40
>

Can anybody explain what this could mean?

Is there someone who can help me decode these? or is there some form of
tracing/tracking available within LWIP to helpme identify the problem?

Thanks!

Roger


ps. on the 0.7.1 stack the following (correct?) initial exchanges are :-

(RX is received into LWIP stack (from PC) and TX is outgoing from the LWIP
stack)

Setting IP address to: 192.168.0.9
Setting netmask to: 255.255.255.0
Setting gateway address to: 192.168.0.1
netif_add...OK
netif_set_default...OK
listen...
<RX

0000: ff ff ff ff ff ff 00 0c 6e 22 84 b0 08 06 00 01
0010: 08 00 06 04 00 01 00 0c 6e 22 84 b0 c0 a8 00 03
0020: 00 00 00 00 00 00 c0 a8 00 09 00 00 00 00 00 00
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 41
>
<TX

0000: 00 0c 6e 22 84 b0 00 07 ed 0b a8 36 08 06 00 01
0010: 08 00 06 04 00 02 00 07 ed 0b a8 36 c0 a8 00 09
0020: 00 0c 6e 22 84 b0 c0 a8 00 03 00 00 00 00 00 00
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 41
>
<RX

0000: 00 07 ed 0b a8 36 00 0c 6e 22 84 b0 08 00 45 00
0010: 00 30 5a 0a 40 00 80 06 1f 61 c0 a8 00 03 c0 a8
0020: 00 09 07 b0 00 17 7c 93 ba 0c 00 00 00 00 70 02
0030: ff ff c3 5b 00 00 02 04 05 b4 01 01 04 02 04 40
>
<TX

0000: 00 0c 6e 22 84 b0 00 07 ed 0b a8 36 08 00 45 00
0010: 00 2c 00 00 40 00 ff 06 fa 6e c0 a8 00 09 c0 a8
0020: 00 03 00 17 07 b0 00 00 19 71 7c 93 ba 0d 60 12
0030: 08 00 b6 e0 00 00 02 04 05 b4
>
<RX

0000: 00 07 ed 0b a8 36 00 0c 6e 22 84 b0 08 00 45 00
0010: 00 28 5a 0b 40 00 80 06 1f 68 c0 a8 00 03 c0 a8
0020: 00 09 07 b0 00 17 7c 93 ba 0d 00 00 19 72 50 10
0030: ff ff d6 9d 00 00 00 00 00 00 00 00 00 41
>
write...
close...





reply via email to

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