VirtualBox

Changeset 5013 in vbox for trunk/src


Ignore:
Timestamp:
Sep 24, 2007 5:06:23 PM (17 years ago)
Author:
vboxsync
Message:

solaris / beautify.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvTAP.cpp

    r4641 r5013  
     1/** $Id: */
    12/** @file
    2  *
    3  * VBox network devices:
    4  * Linux TAP network transport driver
     3 * Universial TAP network transport driver.
    54 */
    65
    76/*
    8  *
    97 * Copyright (C) 2006-2007 innotek GmbH
    108 *
     
    3028#include <iprt/string.h>
    3129#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>
    3533#endif
    3634
    3735#include <sys/ioctl.h>
    3836#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
    4042#include <errno.h>
    4143#ifdef ASYNC_NET
    42 #include <unistd.h>
     44# include <unistd.h>
    4345#endif
    4446
    4547#ifdef RT_OS_L4
    46 #include <l4/vboxserver/file.h>
     48# include <l4/vboxserver/file.h>
    4749#endif
    4850
     
    202204     * until it times out and cause a hickup in the network traffic.
    203205     * 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
    206208     * change the CanReceive to do all the work. This will reduce the amount of code
    207209     * duplication, and would permit pcnet to avoid queuing unnecessary ring-3 tasks.
     
    655657    NULL
    656658};
     659
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette