Rev 3162 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3162 | Rev 3270 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
13 | ;; Version 2, June 1991 ;; |
13 | ;; Version 2, June 1991 ;; |
14 | ;; ;; |
14 | ;; ;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 16... | Line 16... | ||
16 | 16 | ||
Line 17... | Line 17... | ||
17 | $Revision: 3162 $ |
17 | $Revision: 3270 $ |
18 | 18 | ||
19 | align 4 |
19 | align 4 |
20 | iglobal |
20 | iglobal |
Line 316... | Line 316... | ||
316 | 316 | ||
317 | 317 | ||
318 | 318 | ||
319 | 319 | ||
320 | ;------------------------- |
320 | ;------------------------- |
321 | ; TCP_respond.segment: |
321 | ; TCP_respond_segment: |
Line 322... | Line 322... | ||
322 | ; |
322 | ; |
323 | ; IN: edx = segment ptr (a previously received segment) |
323 | ; IN: edx = segment ptr (a previously received segment) |
Line 324... | Line 324... | ||
324 | ; edi = ptr to dest and src IPv4 addresses |
324 | ; edi = ptr to dest and src IPv4 addresses |
Line 325... | Line 325... | ||
325 | ; cl = flags |
325 | ; cl = flags |
326 | 326 | ||
Line 327... | Line 327... | ||
327 | align 4 |
327 | align 4 |
Line 366... | Line 366... | ||
366 | stosd ; checksum + urgentpointer |
366 | stosd ; checksum + urgentpointer |
Line 367... | Line 367... | ||
367 | 367 | ||
368 | ;--------------------- |
368 | ;--------------------- |
Line 369... | Line -... | ||
369 | ; Fill in the checksum |
- | |
370 | 369 | ; Fill in the checksum |
|
371 | .checksum: |
370 | |
372 | lea esi, [edi - sizeof.TCP_header] |
371 | lea esi, [edi - sizeof.TCP_header] |
373 | mov ecx, sizeof.TCP_header |
372 | mov ecx, sizeof.TCP_header |
374 | TCP_checksum (esi - sizeof.IPv4_header + IPv4_header.DestinationAddress),\ ; FIXME |
373 | TCP_checksum (esi - sizeof.IPv4_header + IPv4_header.DestinationAddress),\ ; FIXME |