Rev 1258 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1258 | Rev 1485 | ||
---|---|---|---|
Line 15... | Line 15... | ||
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 | 19 | ||
20 | $Revision: 1258 $ |
20 | $Revision: 1485 $ |
21 | 21 | ||
Line 434... | Line 434... | ||
434 | DEBUGF 1,"ARP del entry %u, total entrys: %u\n", esi, [NumARP] |
434 | DEBUGF 1,"ARP del entry %u, total entrys: %u\n", esi, [NumARP] |
Line 435... | Line 435... | ||
435 | 435 | ||
436 | cmp esi, [NumARP] |
436 | cmp esi, [NumARP] |
Line 437... | Line -... | ||
437 | jge .error |
- | |
438 | - | ||
439 | DEBUGF 1,"deleting the entry..\n" |
437 | jge .error |
Line 440... | Line 438... | ||
440 | 438 | ||
441 | imul esi, ARP_ENTRY.size |
439 | imul esi, ARP_ENTRY.size |
Line 442... | Line 440... | ||
442 | 440 | ||
443 | mov ecx, (ARP_TABLE_SIZE - 1) * ARP_ENTRY.size |
441 | mov ecx, (ARP_TABLE_SIZE - 1) * ARP_ENTRY.size |
Line 444... | Line 442... | ||
444 | sub ecx, esi |
442 | sub ecx, esi |
445 | 443 | ||
Line 446... | Line 444... | ||
446 | lea edi, [ebx + esi] ;edi=ptr to entry that should be deleted |
444 | lea edi, [ARPTable + esi] ;edi=ptr to entry that should be deleted |
- | 445 | lea esi, [edi + ARP_ENTRY.size] ;esi=ptr to next entry |
|
447 | lea esi, [edi + ARP_ENTRY.size] ;esi=ptr to next entry |
446 | |
448 | 447 | shr ecx,1 ;ecx/2 => ARP_ENTRY_SIZE MUST BE EVEN NUMBER! |