· 6 years ago · Oct 04, 2019, 12:22 PM
1netif: netmask of interface set to 255.255.255.0
2netif: GW address of interface set to 192.168.1.1
3netif_set_ipaddr: netif address being changed
4netif: IP address of interface
5netif: added interface st IP addr 192.168.1.12 netmask 255.255.255.0 gw 192.168.1.1
6netif: setting default interface st
7pbuf_alloc(length=28)
8pbuf_alloc(length=28) == 0x20006708
9pbuf_header: old 0x20006728 new 0x2000671a (14)
10pbuf_free(0x20006708)
11pbuf_free: deallocating 0x20006708
12tcp_bind: bind to port 80
13pbuf_alloc(length=60)
14pbuf_alloc: allocated pbuf 0x2000b3ac
15pbuf_alloc(length=60) == 0x2000b3ac
16pbuf_header: old 0x2000b3bc new 0x2000b3ca (-14)
17pbuf_free(0x2000b3ac)
18pbuf_free: deallocating 0x2000b3ac
19pbuf_alloc(length=60)
20pbuf_alloc: allocated pbuf 0x2000b3ac
21pbuf_alloc(length=60) == 0x2000b3ac
22pbuf_header: old 0x2000b3bc new 0x2000b3ca (-14)
23pbuf_free(0x2000b3ac)
24pbuf_free: deallocating 0x2000b3ac
25pbuf_alloc(length=60)
26pbuf_alloc: allocated pbuf 0x2000b3ac
27pbuf_alloc(length=60) == 0x2000b3ac
28pbuf_header: old 0x2000b3bc new 0x2000b3ca (-14)
29pbuf_alloc(length=28)
30pbuf_alloc(length=28) == 0x20006708
31pbuf_header: old 0x20006728 new 0x2000671a (14)
32pbuf_free(0x20006708)
33pbuf_free: deallocating 0x20006708
34pbuf_free(pbuf_alloc(length=60)
35pbuf_alloc: allocated pbuf 0x2000b14c
36pbuf_alloc(length=60) == 0x200x2000b3ac)
37pbuf_free: deallocating 0x2000b3ac
380b3ac
39pbuf_header: old 0x2000b15c new 0x2000b16a (-14)
40pbuf_header: old 0x2000b16a new 0x2000b17e (-20)
41TCP header:
42+--pbuf_alloc(length=60)
43pbuf_alloc: allocated pbuf 0x2000b14c
44pbuf_alloc(length=60) == 0x2000b14c
45pbuf_header: old 0x2000b15c new 0x2000b16a (-14)
46pbuf_free(0x2000b14c)
47pbuf_free: deallocating 0x2000b14c
48pbuf_alloc(length=60)
49pbuf_alloc: allocated pbuf 0x2000b14c
50pbuf_alloc(length=60) == 0x2000b14c
51pbuf_header: old 0x2000b15c new 0x2000b16a (-14)
52pbuf_free(0x2000b14c)
53pbuf_free: deallocating 0x2000b14c
54pbuf_alloc(length=60)
55pbuf_alloc: allocated pbuf 0x2000b14c
56pbuf_alloc(length=60) == 0x2000b14c
57pbuf_header: old 0x2000b15c new 0x2000b16a (-14)
58pbuf_free(0x2000b14c)
59pbuf_free: deallocating 0x2000b14c
60pbuf_alloc(length=60)
61pbuf_alloc: allocated pbuf 0x2000b14c
62pbuf_alloc(length=60) == 0x2000b14c
63pbuf_header: old 0x2000b15c new 0x2000b16a (-14)
64pbuf_free(0x2000b14c)
65pbuf_free: depbuf_alloc(length=60)
66pbuf_alloc: allocated pbuf 0x2000b14c
67pbuf_alloc(length=60) == 0x2000b14c
68pbuf_header: old 0x2000b15c new 0x2000b16a (-14)
69pbuf_header: old 0x2000b16a new 0x2000b17e (-20)
70pbuf_free(0x2000b14c)
71pbuf_free: deallocating 0x2000b14c
72pbuf_alloc(length=66)
73pbuf_alloc: allocated pbuf 0x2000b14c
74pbuf_alloc(length=66) == 0x2000b14c
75pbuf_alloc(length=66)
76pbuf_alloc: allocated pbuf 0x2000b3ac
77pbuf_alloc(lenpbuf_header: old 0x2000b15c new 0x2000b16a (-14)
78pbuf_header: old 0x2000b16a new 0x2000b17e (-20ld 0x2000b16a new 0x20)
79TCP header:
80+-------------------------------+
81| 53194 | 80 | (src port, dest port)
82+-------------------------------+
83| 1494876521 | (seq no)
84+-------------------------------+
85| 0000000000 | (ack no)
86+-------------------------------+
87| 8 | |000010| 65520 | (hdrlen, flags (SYN
88), win)
89+-------------------------------+
90| 0xc1d8 | 0 | (chksum, urgp)
91+-------------------------------+
92pbuf_header: old 0x2000b17e new 0x2000b19e (-32)
93tcp_input: packed for LISTENing connection.
94TCP connection request 53194 -> 80.
95tcp_parseopt: MSS
96tcp_parseopt: NOP
97tcp_parseopt: other
98tcp_parseopt: NOP
99tcp_parseopt: NOP
100tcp_parseopt: other
101pbuf_alloc(length=4)
102pbuf_alloc(length=4) == 0x20006708
103pbuf_header: old 0x20006750 new 0x2000673c (20)
104pbuf_header: old 0x2000673c new 0x20006728 (20)
105pbuf_header: old 0x20006728 new 0x2000671a (14)
106pbuf_free(0x2000b14c)
107pbuf_free: deallocating 0x2000b14pbuf_alloc(length=60)
108pbuf_alloc: allocated pbuf 0x2000aeec
109pbuf_alloc(length=60) == 0x2000aeec
110pbufecpbuf_header: old 0x2000b3bc new 0x2000b3ca (-14)
111pbuf_header: old 0x2000b3ca new 0x2000b3de (-_header: old 0x2000pbuf_-----------+
112| 0x1e4f | 0 | (chksum, urgp)
113+-------------------------------+
114pbuf_header: old 0x2000b3de new 0x2000b3fe (-32)
115tcp_input: packed for LISTENing connection.
116TCP connection request 53195 -> 80.
117tcp_parseopt: MSS
118tcp_parseopt: NOP
119tcp_parseopt: other
120tcp_parseopt: NOP
121tcp_parseopt: NOP
122tcp_parseopt: other
123pbuf_alloc(length=4)
124pbuf_alloc(length=4) == 0x2000675c
125pbuf_header: old 0x200067a4 new 0x20006790 (20)
126pbuf_header: old 0x20006790 new 0x2000677c (20)
127pbuf_header: old 0x2000677c new 0x2000676e (14)
128pbuf_free(0x2000b3ac)
129pbuf_free: deallocating 0x2000b3ac
130pbuf_header: old pbuf_alloc(length=60)
131pbuf_alloc: allocated pbuf 0x2000b3ac
132pbuf_alloc(length=60) == 0x2000b3ac
133=60) == 0x2000b3ac
134c
135af0a (-14)
136pbuf_header: old 0x2000af0a new 0x2000af1e (-20)
137TCP header:
138+-------------------------------+
139| 53194 | 80 | (src port, dest port)
140+-------------------------------+
141| 1494876522 | (seq no)
142+-------------------------------+
143| 0000006511 | (ack no)
144+-------------------------------+
145| 5 | |010000| 65520 | (hdrlen, flags (ACK
146), win)
147+-------------------------------+
148| 0xe864 | 0 | (chksum, urgp)
149+-------------------------------+
150pbuf_header: old 0x2000af1e new 0x2000af32 (-20)
151+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK
152-+-+-+-+-+-+-+-+-+-+-+-+-+-+
153State: SYN_RCVD
154TCP connection established 53194 -> 80.
155accept_function: newpcb->tate: ESTABLISHED
156tcp_receive: ACK for 6511, unacked->seqno 6510:6511
157tcp_receive: removing 6510:6511 from passaggi: 1res: