Hi,
I am trying to get version 1.2 of the lwip stack going, and while
I am having no problems with Webservers, an normal upd traffice. But
I have the need to send multi-cast UDP packets and running into the
whole stack locking up, and causing a reboot.
My question, is does the stack support sending out Multi-cast UDP
packets.
I see comments in the code about receiving, and I would think sending
would
be easier.
I have attached a detailed log starting where the lwip gets the
lwip_sendto
call. I have every debug item turned on except a few dealing with ppp
and slip.
The strange part is after the lwip_sendto(...)
I never see a tcpip_thread: API message
then a udp_connect: connected message.
lwip_sendto(2, data=007A977E, size=22, flags=0x0 to=239.192.26.32 port=2222
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0110(00000000)
tcpip: ip_reass_tmr()
sys_timeout: 052BDA38 msecs=1000 h=E2CC0110 arg=00000000
smf calling h=E2CC0083(00000000)
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (00000000)
tcp_output: snd_wnd 17492, cwnd 2920, wnd 2920, seg == NULL, ack 6550
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0110(00000000)
tcpip: ip_reass_tmr()
sys_timeout: 052BDA38 msecs=1000 h=E2CC0110 arg=00000000
smf calling h=E2CC0083(00000000)
sys_timeout: 052BDA24 mINT!!(4f3)!
REC!!!
secs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
tcp_slowtmr: rtime 5 pcb->rto 5
tcp_slowtmr: cwnd 1460 ssthresh 1460
tcp_output: snd_wnd 17492, cwnd 1460, wnd 1460, effwnd 110, seq 6550, ack 6550
tcp_output: snd_wnd 17492, cwnd 1460, wnd 1460, effwnd 110, seq 6550, ack 6550,
i 0
tcp_output_segment: rtseq 6550
tcp_output_segment: 6550:6660
inet_chksum_pseudo(): checksumming pbuf 068D007A (has next 00000000)
inet_chksum_pseudo(): pbuf chain lwip_chksum()=8078
pbuf_header: old 068D00AC new 068D0098 (20)
ip_output_if: et0
IP header:
+-------------------------------+
| 4 | 5 | 0x00 | 150 | (v, hl, tos, len)
+-------------------------------+
| 15 |010| 0 | (id, flags, offset)
+-------------------------------+
| 255 | 6 | 0x9885 | (ttl, proto, chksum)
+-------------------------------+
| 89 | 89 | 200 | 201 | (src)
+-------------------------------+
| 89 | 194 | 102 | 232 | (dest)
+-------------------------------+
netif->output()pbuf_header: old 068D0098 new 068D008A (14)
find_entry: found matching stable entry 1
etharp_query: sending packet 068D007A
lance_output: pbuf @068D007A tot_len 164 len 164 flags 0300
INT!!(a2f3)!
TRANS!!!
INT!!(4b3)!
REC!!!
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0110(00000000)
tcpip: ip_reass_tmr()
sys_timeout: 052BDA38 msecs=1000 h=E2CC0110 arg=00000000
smf calling h=E2CC0083(00000000)
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2CC0083(00000000)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (00000000)
tcp_output: snd_wnd 17492, cwnd 1460, wnd 1460, seg == NULL, ack 6550
sys_timeout: 052BDA24 msecs=250 h=E2CC0083 arg=00000000
smf calling h=E2D004E3(00000000)
etharp_timer
sys_timeout: 052BDA4C msecs=5000 h=E2D004E3 arg=00000000
smf callINT!!(4f3)!
REC!!!
INT!!(4f3)!
REC!!!
INT!!(4f3)!
REC!!!
INT!!(4f3)!
REC!!!
INT!!(4f3)!
REC!!!
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users