[linux-devkit]:~/tmp/GIT_LWIP/lwip-contrib/ports/unix/proj/unixsim> ./simhost -d System initialized. netif: netmask of interface set to 255.255.255.255 netif: GW address of interface set to 0.0.0.0 netif: IP address of interface set to 0.0.0.0 netif: added interface pp IP addr 0.0.0.0 netmask 255.255.255.255 gw 0.0.0.0 ppp phase changed[0]: phase=0 ppp_connect[0]: holdoff=0 ppp phase changed[0]: phase=1 pppos_connect: unit 0: connecting ppp_start[0] pppos_send_config[0]: out_accm=FF FF FF FF ppp_send_config[0] pppos_recv_config[0]: in_accm=FF FF FF FF ppp_recv_config[0] ppp: auth protocols: PAP=0 CHAP=0 CHAP_MD5=0 CHAP_MS=0 CHAP_MS2=0 pppos_write[0]: len=24 ppp_start[0]: finished netif: setting default interface pp tcp_bind: bind to port 80 udp_bind(ipaddr = 0.0.0.0, port = 137) udp_bind: bound to 0.0.0.0, port 137) SNMP private MIB start, detecting sensors. tcpip_thread: API message 0xb51fd2d0 tcpip_thread: API message 0xb59fe2b0 tcpip_thread: API message 0xb47fe2c0 tcpip_thread: API message 0xb3ffe2d0 tcpip_thread: API message 0xb51fd2d0 tcp_bind: bind to port 23 tcpip_thread: API message 0xb59fe2b0 tcp_bind: bind to port 7 tcpip_thread: API message 0xb47fe2c0 udp_bind(ipaddr = 0.0.0.0, port = 7) udp_bind: bound to 0.0.0.0, port 7) tcpip_thread: API message 0xb3ffe2d0 udp_bind(ipaddr = 0.0.0.0, port = 161) udp_bind: bound to 0.0.0.0, port 161) tcpip_thread: API message 0xb51fd2d0 tcpip_thread: API message 0xb59fe2b0 TCP/IP initialized. Applications started. pppos_input[0]: got 5 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 7 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 3 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 6 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_write[0]: len=24 pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 14 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 12 bytes pppos_input[0]: got 3 bytes pppos_input[0]: got 9 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes netif_set_mtu[0]: mtu=296 pppos_send_config[0]: out_accm=0 0 0 0 ppp_send_config[0] pppos_recv_config[0]: in_accm=0 0 0 0 ppp_recv_config[0] ppp phase changed[0]: phase=5 ppp phase changed[0]: phase=7 ccp_set[0]: is_open=1, is_up=0, receive_method=0, transmit_method=0 pppos_write[0]: len=20 pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 8 bytes pppos_input[0]: got 2 bytes pppos_write[0]: len=12 pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 7 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_write[0]: len=20 pppos_input[0]: got 1 bytes pppos_input[0]: got 6 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_write[0]: len=20 pppos_input[0]: got 8 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 5 bytes pppos_input[0]: got 1 bytes sifvjcomp[0]: VJ compress enable=1 slot=1 max slot=15 netif: netmask of interface pp set to 255.255.255.255 netif: GW address of interface pp set to 192.168.123.20 netif_set_ipaddr: netif address being changed netif: IP address of interface pp set to 192.168.123.21 sifup[0]: err_code=0 ppp_link_status_cb: PPPERR_NONE our_ip4addr = 192.168.123.21 his_ipaddr = 192.168.123.20 netmask = 255.255.255.255 local IP address 192.168.123.21 remote IP address 192.168.123.20 ppp phase changed[0]: phase=8 pppos_input[0]: got 7 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 6 bytes pppos_input[0]: got 4 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 12 bytes pppos_input[0]: got 3 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 12 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 3 bytes ppp_input[0]: ip in pbuf len=60 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 60 | (v, hl, tos, len) +-------------------------------+ | 16632 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x8249 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 60 p->tot_len 60 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400129 | (seq no) +-------------------------------+ | 0000000000 | (ack no) +-------------------------------+ | 10 | |000010| 29200 | (hdrlen, flags (SYN ), win) +-------------------------------+ | 0xee39 | 0 | (chksum, urgp) +-------------------------------+ tcp_input: packed for LISTENing connection. TCP connection request 47180 -> 7. tcp_parseopt: MSS tcp_parseopt: other tcp_parseopt: other tcp_parseopt: NOP tcp_parseopt: other tcp_enqueue_flags: queuelen: 0 tcp_enqueue_flags: queueing 6510:6511 (0x12) tcp_enqueue_flags: 1 (after enqueued) tcp_output: snd_wnd 29200, cwnd 1, wnd 1, effwnd 0, seq 6510, ack 6510 tcp_output: snd_wnd 29200, cwnd 1, wnd 1, effwnd 0, seq 6510, ack 6510, i 0 tcp_output_segment: rtseq 6510 tcp_output_segment: 6510:6510 ip_output_if: pp0 IP header: +-------------------------------+ | 4 | 5 | 0x00 | 44 | (v, hl, tos, len) +-------------------------------+ | 0 |000| 0 | (id, flags, offset) +-------------------------------+ | 255 | 6 | 0x4451 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 21 | (src) +-------------------------------+ | 192 | 168 | 123 | 20 | (dest) +-------------------------------+ netif->output()pppos_netif_output[0]: proto=0x21, len = 44 pppos_input[0]: got 14 bytes pppos_input[0]: got 29 bytes pppos_input[0]: Dropping bad fcs 0xab1c proto=0x21 pppos_input_drop: pbuf len=59, addr 0x80b51e0 tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1, wnd 1, seg == NULL, ack 6510 tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1, wnd 1, seg == NULL, ack 6510 tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1, wnd 1, seg == NULL, ack 6510 tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1, wnd 1, seg == NULL, ack 6510 tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1, wnd 1, seg == NULL, ack 6510 tcp_slowtmr: processing active pcb tcp_slowtmr: rtime 6 pcb->rto 6 tcp_slowtmr: cwnd 256 ssthresh 512 tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 0, seq 6510, ack 6510 tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 0, seq 6510, ack 6510, i 0 tcp_output_segment: rtseq 6510 tcp_output_segment: 6510:6510 ip_output_if: pp0 IP header: +-------------------------------+ | 4 | 5 | 0x00 | 44 | (v, hl, tos, len) +-------------------------------+ | 1 |000| 0 | (id, flags, offset) +-------------------------------+ | 255 | 6 | 0x4450 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 21 | (src) +-------------------------------+ | 192 | 168 | 123 | 20 | (dest) +-------------------------------+ netif->output()pppos_netif_output[0]: proto=0x21, len = 44 tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 256, wnd 256, seg == NULL, ack 6510 pppos_input[0]: got 11 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 11 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 9 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes ppp_input[0]: ip in pbuf len=40 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 40 | (v, hl, tos, len) +-------------------------------+ | 16634 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x825b | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 40 p->tot_len 40 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400130 | (seq no) +-------------------------------+ | 0000006511 | (ack no) +-------------------------------+ | 5 | |010000| 29200 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0xe27a | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: SYN_RCVD TCP connection established 47180 -> 7. accept_function: newpcb->tate: ESTABLISHED tcp_receive: window update 29200 tcp_receive: slow start cwnd 512 tcp_receive: ACK for 6511, unacked->seqno 6510:6511 tcp_receive: removing 6510:6511 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 6 rtseq 6510 ackno 6511 tcp_receive: experienced rtt 0 ticks (0 msec). tcp_receive: RTO 5 (2500 milliseconds) tcp_process (SYN_RCVD): cwnd 1024 ssthresh 29200 tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1024, wnd 1024, seg == NULL, ack 6511 State: ESTABLISHED tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1024, wnd 1024, seg == NULL, ack 6511 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1024, wnd 1024, seg == NULL, ack 6511 pppos_input[0]: got 8 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 13 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 7 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes tcp_slowtmr: processing active pcb pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes ppp_input[0]: ip in pbuf len=44 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 44 | (v, hl, tos, len) +-------------------------------+ | 16635 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x8256 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 44 p->tot_len 44 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400130 | (seq no) +-------------------------------+ | 0000006511 | (ack no) +-------------------------------+ | 5 | |011000| 29200 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0xfa94 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: pcb->rttest 0 rtseq 6510 ackno 6511 tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1024, wnd 1024, seg == NULL, ack 6511 State: ESTABLISHED tcpip_thread: API message 0xb59fe290 tcp_recved: received 4 bytes, wnd 8096 (0). netconn_recv_data: received 0x80b51e0, len=4 tcpip_thread: API message 0xb59fe2b0 tcp_write(pcb=0x80b58b4, data=0x80b522a, len=4, apiflags=1) tcp_write: queuelen: 0 tcp_write: queueing 6511:6515 tcp_write: 1 (after enqueued) tcp_output: snd_wnd 29200, cwnd 1024, wnd 1024, effwnd 4, seq 6511, ack 6511 tcp_output: snd_wnd 29200, cwnd 1024, wnd 1024, effwnd 4, seq 6511, ack 6511, i 0 tcp_output_segment: rtseq 6511 tcp_output_segment: 6511:6515 ip_output_if: pp0 IP header: +-------------------------------+ | 4 | 5 | 0x00 | 44 | (v, hl, tos, len) +-------------------------------+ | 2 |000| 0 | (id, flags, offset) +-------------------------------+ | 255 | 6 | 0x444f | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 21 | (src) +-------------------------------+ | 192 | 168 | 123 | 20 | (dest) +-------------------------------+ netif->output()pppos_netif_output[0]: proto=0x2f, len = 44 pppos_input[0]: got 11 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 10 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 6 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes ppp_input[0]: ip in pbuf len=40 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 40 | (v, hl, tos, len) +-------------------------------+ | 16636 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x8259 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 40 p->tot_len 40 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400134 | (seq no) +-------------------------------+ | 0000006515 | (ack no) +-------------------------------+ | 5 | |010000| 29200 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0xe272 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: window update 29200 tcp_receive: slow start cwnd 1280 tcp_receive: ACK for 6515, unacked->seqno 6511:6515 tcp_receive: removing 6511:6515 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 11 rtseq 6511 ackno 6515 tcp_receive: experienced rtt 0 ticks (0 msec). tcp_receive: RTO 4 (2000 milliseconds) tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1280, wnd 1280, seg == NULL, ack 6515 State: ESTABLISHED tcp_slowtmr: processing active pcb pppos_input[0]: got 7 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 8 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 10 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1280, wnd 1280, seg == NULL, ack 6515 pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes ppp_input[0]: ip in pbuf len=46 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 46 | (v, hl, tos, len) +-------------------------------+ | 16637 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x8252 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 46 p->tot_len 46 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400134 | (seq no) +-------------------------------+ | 0000006515 | (ack no) +-------------------------------+ | 5 | |011000| 29200 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0x8837 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: pcb->rttest 0 rtseq 6511 ackno 6515 tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1280, wnd 1280, seg == NULL, ack 6515 State: ESTABLISHED tcpip_thread: API message 0xb59fe290 tcp_recved: received 6 bytes, wnd 8096 (0). netconn_recv_data: received 0x80b5270, len=6 tcpip_thread: API message 0xb59fe2b0 tcp_write(pcb=0x80b58b4, data=0x80b52ba, len=6, apiflags=1) tcp_write: queuelen: 0 tcp_write: queueing 6515:6521 tcp_write: 1 (after enqueued) tcp_output: snd_wnd 29200, cwnd 1280, wnd 1280, effwnd 6, seq 6515, ack 6515 tcp_output: snd_wnd 29200, cwnd 1280, wnd 1280, effwnd 6, seq 6515, ack 6515, i 0 tcp_output_segment: rtseq 6515 tcp_output_segment: 6515:6521 ip_output_if: pp0 IP header: +-------------------------------+ | 4 | 5 | 0x00 | 46 | (v, hl, tos, len) +-------------------------------+ | 3 |000| 0 | (id, flags, offset) +-------------------------------+ | 255 | 6 | 0x444c | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 21 | (src) +-------------------------------+ | 192 | 168 | 123 | 20 | (dest) +-------------------------------+ netif->output()pppos_netif_output[0]: proto=0x2d, len = 14 pppos_input[0]: got 12 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 15 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 4 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes ppp_input[0]: ip in pbuf len=40 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 40 | (v, hl, tos, len) +-------------------------------+ | 16638 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x8257 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 40 p->tot_len 40 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400140 | (seq no) +-------------------------------+ | 0000006521 | (ack no) +-------------------------------+ | 5 | |010000| 29200 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0xe266 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: window update 29200 tcp_receive: slow start cwnd 1536 tcp_receive: ACK for 6521, unacked->seqno 6515:6522 tcp_receive: pcb->rttest 13 rtseq 6515 ackno 6521 tcp_receive: experienced rtt 0 ticks (0 msec). tcp_receive: RTO 3 (1500 milliseconds) tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1536, wnd 1536, seg == NULL, ack 6521 State: ESTABLISHED tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 1536, wnd 1536, seg == NULL, ack 6521 tcp_slowtmr: processing active pcb tcp_slowtmr: rtime 3 pcb->rto 3 tcp_slowtmr: cwnd 256 ssthresh 768 tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 0, seq 6515, ack 6521 tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 0, seq 6515, ack 6521, i 0 tcp_output_segment: rtseq 6515 tcp_output_segment: 6515:6521 ip_output_if: pp0 IP header: +-------------------------------+ | 4 | 5 | 0x00 | 46 | (v, hl, tos, len) +-------------------------------+ | 4 |000| 0 | (id, flags, offset) +-------------------------------+ | 255 | 6 | 0x444b | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 21 | (src) +-------------------------------+ | 192 | 168 | 123 | 20 | (dest) +-------------------------------+ netif->output()pppos_netif_output[0]: proto=0x21, len = 46 pppos_input[0]: got 8 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 11 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 11 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 5 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes ppp_input[0]: ip in pbuf len=50 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 50 | (v, hl, tos, len) +-------------------------------+ | 16639 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x824c | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 50 p->tot_len 50 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400140 | (seq no) +-------------------------------+ | 0000006521 | (ack no) +-------------------------------+ | 5 | |011000| 29200 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0xce22 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: pcb->rttest 16 rtseq 6515 ackno 6521 tcp_receive: experienced rtt 0 ticks (0 msec). tcp_receive: RTO 3 (1500 milliseconds) tcp_output: nothing to send ((nil)) tcp_output: snd_wnd 29200, cwnd 256, wnd 256, seg == NULL, ack 6521 State: ESTABLISHED tcpip_thread: API message 0xb59fe290 tcp_recved: received 10 bytes, wnd 8096 (0). netconn_recv_data: received 0x80b51e0, len=10 tcpip_thread: API message 0xb59fe2b0 tcp_write(pcb=0x80b58b4, data=0x80b522a, len=10, apiflags=1) tcp_write: queuelen: 1 tcp_write: queueing 6521:6531 tcp_write: 2 (after enqueued) tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 10, seq 6521, ack 6521 tcp_fasttmr: delayed ACK tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 10, seq 6521, ack 6521 tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 10, seq 6521, ack 6521 pppos_input[0]: got 9 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 9 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 16 bytes pppos_input[0]: got 5 bytes pppos_input[0]: got 1 bytes pppos_input[0]: got 2 bytes ppp_input[0]: ip in pbuf len=50 ip_input: iphdr->dest 0x157ba8c0 netif->ip_addr 0x157ba8c0 (0x157ba8c0, 0x157ba8c0, 0x0) ip_input: packet accepted on interface pp ip_input: IP header: +-------------------------------+ | 4 | 5 | 0x00 | 50 | (v, hl, tos, len) +-------------------------------+ | 16640 |010| 0 | (id, flags, offset) +-------------------------------+ | 64 | 6 | 0x824b | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 20 | (src) +-------------------------------+ | 192 | 168 | 123 | 21 | (dest) +-------------------------------+ ip_input: p->len 50 p->tot_len 50 TCP header: +-------------------------------+ | 47180 | 7 | (src port, dest port) +-------------------------------+ | 0772400140 | (seq no) +-------------------------------+ | 0000006521 | (ack no) +-------------------------------+ | 5 | |011000| 29200 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0xce22 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: pcb->rttest 0 rtseq 6515 ackno 6521 tcp_receive: duplicate seqno 772400140 tcp_output: sending ACK for 772400150 ip_output_if: pp0 IP header: +-------------------------------+ | 4 | 5 | 0x00 | 40 | (v, hl, tos, len) +-------------------------------+ | 5 |000| 0 | (id, flags, offset) +-------------------------------+ | 255 | 6 | 0x4450 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 21 | (src) +-------------------------------+ | 192 | 168 | 123 | 20 | (dest) +-------------------------------+ netif->output()pppos_netif_output[0]: proto=0x2d, len = 9 tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 10, seq 6521, ack 6521 State: ESTABLISHED tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: rtime 3 pcb->rto 3 tcp_slowtmr: cwnd 256 ssthresh 512 tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 0, seq 6515, ack 6521 tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 0, seq 6515, ack 6521, i 0 tcp_output_segment: rtseq 6515 tcp_output_segment: 6515:6521 ip_output_if: pp0 IP header: +-------------------------------+ | 4 | 5 | 0x00 | 46 | (v, hl, tos, len) +-------------------------------+ | 6 |000| 0 | (id, flags, offset) +-------------------------------+ | 255 | 6 | 0x4449 | (ttl, proto, chksum) +-------------------------------+ | 192 | 168 | 123 | 21 | (src) +-------------------------------+ | 192 | 168 | 123 | 20 | (dest) +-------------------------------+ netif->output()pppos_netif_output[0]: proto=0x21, len = 46 tcp_slowtmr: polling application tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 10, seq 6521, ack 6521 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 10, seq 6521, ack 6521 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 10, seq 6521, ack 6521 tcp_slowtmr: processing active pcb