Hi,
I am trying to get LwIP working on a STR912 processor, using callback
(no OS).
It all compiles well, and ICMP works (I can ping the device).
When trying to connect to a TCP socket (httpd, telnetd or netio), the
connection does not get established.
Comparing with Ethereal, the packet appears to be interpreted correctly,
and passes through 'ethernet_input()' and 'ip_input()' with no problems.
It seems to bail out in 'tcp_process()'.
Netio execution
D:\>netio -t 192.168.1.121
NETIO - Network Throughput Benchmark, Version 1.26
(C) 1997-2005 Kai Uwe Rommel
connect(): error code 10060
Below is a dump for 'netio'.
Attached is 'lwipopts.h'.
http://www.nabble.com/file/p25167221/lwipopts.h
lwipopts.h
If any more information is required, I can provide.
Any assistance will be most appreciated.
regards,
Mykola
...
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
TCP header:
+-------------------------------+
| 3181 | 18767 | (src port, dest port)
+-------------------------------+
| 3628390174 | (seq no)
+-------------------------------+
| 0000000000 | (ack no)
+-------------------------------+
| 11 | |000010| 64240 | (hdrlen, flags (SYN
), win)
+-------------------------------+
| 0xb1bf | 0 | (chksum, urgp)
+-------------------------------+
tcp_input: packed for LISTENing connection.
TCP connection request 3181 -> 18767.
tcp_parseopt: MSS
tcp_parseopt: NOP
tcp_parseopt: other
tcp_parseopt: NOP
tcp_parseopt: NOP
tcp_parseopt: other
tcp_parseopt: NOP
tcp_parseopt: NOP
tcp_parseopt: other
tcp_enqueue(pcb=0x50003c14, arg=0x0, len=0, flags=12, apiflags=0)
tcp_enqueue: queueing 6521:6522 (0x12)
tcp_output_segment: 6521:6521
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
...
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
tcp_slowtmr: processing active pcb
tcp_output_segment: 6521:6521
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
TCP header:
+-------------------------------+
| 3181 | 18767 | (src port, dest port)
+-------------------------------+
| 3628390174 | (seq no)
+-------------------------------+
| 0000000000 | (ack no)
+-------------------------------+
| 11 | |000010| 64240 | (hdrlen, flags (SYN
), win)
+-------------------------------+
| 0xb1bf | 0 | (chksum, urgp)
+-------------------------------+
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN
-+-+-+-+-+-+-+-+-+-+-+-+-+-+
State: SYN_RCVD
tcp_parseopt: MSS
tcp_parseopt: NOP
tcp_parseopt: other
tcp_parseopt: NOP
tcp_parseopt: NOP
tcp_parseopt: other
tcp_parseopt: NOP
tcp_parseopt: NOP
tcp_parseopt: other
tcp_output_segment: 6521:6521
State: SYN_RCVD
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
...
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
tcp_slowtmr: processing active pcb
tcp_output_segment: 6521:6521
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
TCP header:
+-------------------------------+
| 3181 | 18767 | (src port, dest port)
+-------------------------------+
| 3628390174 | (seq no)
+-------------------------------+
| 0000000000 | (ack no)
+-------------------------------+
| 11 | |000010| 64240 | (hdrlen, flags (SYN
), win)
+-------------------------------+
| 0xb1bf | 0 | (chksum, urgp)
+-------------------------------+
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN
-+-+-+-+-+-+-+-+-+-+-+-+-+-+
State: SYN_RCVD
tcp_parseopt: MSS
tcp_parseopt: NOP
tcp_parseopt: other
tcp_parseopt: NOP
tcp_parseopt: NOP
tcp_parseopt: other
tcp_parseopt: NOP
tcp_parseopt: NOP
tcp_parseopt: other
tcp_output_segment: 6521:6521
State: SYN_RCVD
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
...
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0x0)
tcp_slowtmr: processing active pcb
tcp_slowtmr: removing pcb stuck in SYN-RCVD
tcp_pcb_purge
tcp_pcb_purge: data left on ->unacked
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
...
--
View this message in context:
http://www.nabble.com/Incoming-TCP-rejected-on-ARM-tp25167221p25167221.h
tml
Sent from the lwip-users mailing list archive at Nabble.com.
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users