Rev 9805 | Rev 9807 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9805 | Rev 9806 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | ;; GNU GENERAL PUBLIC LICENSE ;; |
14 | ;; GNU GENERAL PUBLIC LICENSE ;; |
15 | ;; Version 2, June 1991 ;; |
15 | ;; Version 2, June 1991 ;; |
16 | ;; ;; |
16 | ;; ;; |
17 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
17 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 18... | Line 18... | ||
18 | 18 | ||
Line 19... | Line 19... | ||
19 | $Revision: 9805 $ |
19 | $Revision: 9806 $ |
20 | 20 | ||
Line 21... | Line 21... | ||
21 | IPv4_MAX_FRAGMENTS = 64 |
21 | IPv4_MAX_FRAGMENTS = 64 |
Line 525... | Line 525... | ||
525 | 525 | ||
526 | cmp edi, eax ; Is this packet the first fragment ? |
526 | cmp edi, eax ; Is this packet the first fragment ? |
527 | je .first_fragment |
527 | je .first_fragment |
528 | sub cx, bx ; If not, dont copy the header |
528 | sub cx, bx ; If not, dont copy the header |
- | 529 | add esi, ebx ; |
|
- | 530 | add edi, ebx ; FIXME: We should add size of header of first fragment here |
|
- | 531 | ; instead of size of currently copying fragment |
|
- | 532 | ; because the fragment offset is offset within the big IP packet |
|
529 | add esi, ebx ; |
533 | ; data (not within the packet, within packet's contents) |
Line 530... | Line 534... | ||
530 | .first_fragment: |
534 | .first_fragment: |
531 | 535 |