Changeset 11119 in vbox for trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp
- Timestamp:
- Aug 4, 2008 6:13:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp
r11117 r11119 943 943 if (fReplace) 944 944 { 945 /* simple FIFO, might consider usage/ageing here ?*/945 /* simple FIFO, might consider usage/ageing here... */ 946 946 Log(("intnetR0IfAddrCacheAddIt: type=%d replacing %.*Rhxs\n", 947 947 (int)(uintptr_t)(pCache - &pIf->aAddrCache[0]), pCache->cbAddress, pCache->pbEntries)); … … 985 985 { 986 986 if (RT_LIKELY(intnetR0AddrUIsEqualEx((PCRTNETADDRU)pbEntry, pAddr, cbAddr))) 987 {988 /** @todo usage/ageing? */989 987 return; 990 }991 988 pbEntry += pCache->cbEntry; 992 989 i--; … … 1021 1018 || (i > 1 1022 1019 && intnetR0AddrUIsEqualEx((PCRTNETADDRU)(pCache->pbEntries + pCache->cbEntry * i), pAddr, cbAddr))) )) 1023 {1024 /** @todo usage/ageing? */1025 1020 return; 1026 }1027 1021 intnetR0IfAddrCacheAddSlow(pIf, pCache, pAddr, cbAddr, pszMsg); 1028 1022 }
Note:
See TracChangeset
for help on using the changeset viewer.