- Timestamp:
- Sep 24, 2007 5:06:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvTAP.cpp
r4641 r5013 1 /** $Id: */ 1 2 /** @file 2 * 3 * VBox network devices: 4 * Linux TAP network transport driver 3 * Universial TAP network transport driver. 5 4 */ 6 5 7 6 /* 8 *9 7 * Copyright (C) 2006-2007 innotek GmbH 10 8 * … … 30 28 #include <iprt/string.h> 31 29 #ifdef ASYNC_NET 32 # include <iprt/thread.h>33 # include <iprt/asm.h>34 # include <iprt/semaphore.h>30 # include <iprt/thread.h> 31 # include <iprt/asm.h> 32 # include <iprt/semaphore.h> 35 33 #endif 36 34 37 35 #include <sys/ioctl.h> 38 36 #include <sys/poll.h> 39 #include <sys/fcntl.h> 37 #ifdef RT_OS_SOLARIS 38 # include <fcntl.h> 39 #else 40 # include <sys/fcntl.h> 41 #endif 40 42 #include <errno.h> 41 43 #ifdef ASYNC_NET 42 # include <unistd.h>44 # include <unistd.h> 43 45 #endif 44 46 45 47 #ifdef RT_OS_L4 46 # include <l4/vboxserver/file.h>48 # include <l4/vboxserver/file.h> 47 49 #endif 48 50 … … 202 204 * until it times out and cause a hickup in the network traffic. 203 205 * There is a simple, but not perfect, workaround for this problem in DrvTAPOs2.cpp. 204 * 205 * A better solution would be to ditch the NotifyCanReceive callback and instead 206 * 207 * A better solution would be to ditch the NotifyCanReceive callback and instead 206 208 * change the CanReceive to do all the work. This will reduce the amount of code 207 209 * duplication, and would permit pcnet to avoid queuing unnecessary ring-3 tasks. … … 655 657 NULL 656 658 }; 659
Note:
See TracChangeset
for help on using the changeset viewer.