VirtualBox

Ignore:
Timestamp:
Aug 14, 2015 3:16:38 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102121
Message:

*: scm cleanup run.

Location:
trunk/src/VBox/HostDrivers/VBoxNetFlt
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c

    r56293 r57358  
    245245 */
    246246
    247 /*******************************************************************************
    248 *   Header Files                                                               *
    249 *******************************************************************************/
     247
     248/*********************************************************************************************************************************
     249*   Header Files                                                                                                                 *
     250*********************************************************************************************************************************/
    250251#define LOG_GROUP LOG_GROUP_NET_FLT_DRV
    251252#include "VBoxNetFltInternal.h"
     
    264265
    265266
    266 /*******************************************************************************
    267 *   Defined Constants And Macros                                               *
    268 *******************************************************************************/
     267/*********************************************************************************************************************************
     268*   Defined Constants And Macros                                                                                                 *
     269*********************************************************************************************************************************/
    269270#define IFPORT_2_VBOXNETFLTINS(pIfPort) \
    270271    ( (PVBOXNETFLTINS)((uint8_t *)pIfPort - RT_OFFSETOF(VBOXNETFLTINS, MyPort)) )
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r57253 r57358  
    1616 */
    1717
    18 /*******************************************************************************
    19 *   Header Files                                                               *
    20 *******************************************************************************/
     18
     19/*********************************************************************************************************************************
     20*   Header Files                                                                                                                 *
     21*********************************************************************************************************************************/
    2122#define LOG_GROUP LOG_GROUP_NET_FLT_DRV
    2223#include "../../../Runtime/r0drv/darwin/the-darwin-kernel.h"
     
    6667
    6768
    68 /*******************************************************************************
    69 *   Defined Constants And Macros                                               *
    70 *******************************************************************************/
     69/*********************************************************************************************************************************
     70*   Defined Constants And Macros                                                                                                 *
     71*********************************************************************************************************************************/
    7172/** The maximum number of SG segments.
    7273 * Used to prevent stack overflow and similar bad stuff. */
     
    8485
    8586
    86 /*******************************************************************************
    87 *   Internal Functions                                                         *
    88 *******************************************************************************/
     87/*********************************************************************************************************************************
     88*   Internal Functions                                                                                                           *
     89*********************************************************************************************************************************/
    8990RT_C_DECLS_BEGIN
    9091static kern_return_t    VBoxNetFltDarwinStart(struct kmod_info *pKModInfo, void *pvData);
     
    9596
    9697
    97 /*******************************************************************************
    98 *   Structures and Typedefs                                                    *
    99 *******************************************************************************/
     98/*********************************************************************************************************************************
     99*   Structures and Typedefs                                                                                                      *
     100*********************************************************************************************************************************/
    100101/**
    101102 * The mbuf tag data.
     
    117118
    118119
    119 /*******************************************************************************
    120 *   Global Variables                                                           *
    121 *******************************************************************************/
     120/*********************************************************************************************************************************
     121*   Global Variables                                                                                                             *
     122*********************************************************************************************************************************/
    122123/**
    123124 * Declare the module stuff.
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c

    r52618 r57358  
    2929 */
    3030
    31 /*******************************************************************************
    32 *   Header Files                                                               *
    33 *******************************************************************************/
     31
     32/*********************************************************************************************************************************
     33*   Header Files                                                                                                                 *
     34*********************************************************************************************************************************/
    3435#include <sys/param.h>
    3536#undef PVM
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r57315 r57358  
    1616 */
    1717
    18 /*******************************************************************************
    19 *   Header Files                                                               *
    20 *******************************************************************************/
     18
     19/*********************************************************************************************************************************
     20*   Header Files                                                                                                                 *
     21*********************************************************************************************************************************/
    2122#define LOG_GROUP LOG_GROUP_NET_FLT_DRV
    2223#define VBOXNETFLT_LINUX_NO_XMIT_QUEUE
     
    7374
    7475
    75 /*******************************************************************************
    76 *   Defined Constants And Macros                                               *
    77 *******************************************************************************/
     76/*********************************************************************************************************************************
     77*   Defined Constants And Macros                                                                                                 *
     78*********************************************************************************************************************************/
    7879#define VBOX_FLT_NB_TO_INST(pNB)    RT_FROM_MEMBER(pNB, VBOXNETFLTINS, u.s.Notifier)
    7980#define VBOX_FLT_PT_TO_INST(pPT)    RT_FROM_MEMBER(pPT, VBOXNETFLTINS, u.s.PacketType)
     
    171172#endif
    172173
    173 /*******************************************************************************
    174 *   Internal Functions                                                         *
    175 *******************************************************************************/
     174
     175/*********************************************************************************************************************************
     176*   Internal Functions                                                                                                           *
     177*********************************************************************************************************************************/
    176178static int      VBoxNetFltLinuxInit(void);
    177179static void     VBoxNetFltLinuxUnload(void);
     
    179181
    180182
    181 /*******************************************************************************
    182 *   Global Variables                                                           *
    183 *******************************************************************************/
     183/*********************************************************************************************************************************
     184*   Global Variables                                                                                                             *
     185*********************************************************************************************************************************/
    184186/**
    185187 * The (common) global data.
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_NET_FLT_DRV
    3132#include <VBox/log.h>
     
    8586#include "../VBoxNetFltInternal.h"
    8687
    87 /*******************************************************************************
    88 *   Defined Constants And Macros                                               *
    89 *******************************************************************************/
     88
     89/*********************************************************************************************************************************
     90*   Defined Constants And Macros                                                                                                 *
     91*********************************************************************************************************************************/
    9092/** The module name. */
    9193#define DEVICE_NAME                     "vboxflt"
     
    115117typedef struct VLANHEADER *PVLANHEADER;
    116118
    117 /*******************************************************************************
    118 *   Global Functions                                                           *
    119 *******************************************************************************/
     119
     120/*********************************************************************************************************************************
     121*   Global Functions                                                                                                             *
     122*********************************************************************************************************************************/
    120123/**
    121124 * Stream Driver hooks.
     
    135138
    136139
    137 /*******************************************************************************
    138 *   Structures and Typedefs                                                    *
    139 *******************************************************************************/
     140/*********************************************************************************************************************************
     141*   Structures and Typedefs                                                                                                      *
     142*********************************************************************************************************************************/
    140143/**
    141144 * Streams: module info.
     
    350353
    351354
    352 /*******************************************************************************
    353 *   Internal Functions                                                           *
    354 *******************************************************************************/
     355/*********************************************************************************************************************************
     356*   Internal Functions                                                                                                           *
     357*********************************************************************************************************************************/
    355358static int vboxNetFltSolarisSetRawMode(vboxnetflt_promisc_stream_t *pPromiscStream);
    356359/* static int vboxNetFltSolarisSetFastMode(queue_t *pQueue); */
     
    376379
    377380
    378 /*******************************************************************************
    379 *   Global Variables                                                           *
    380 *******************************************************************************/
     381/*********************************************************************************************************************************
     382*   Global Variables                                                                                                             *
     383*********************************************************************************************************************************/
    381384/** Global device info handle. */
    382385static dev_info_t *g_pVBoxNetFltSolarisDip = NULL;
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_NET_FLT_DRV
    3132#include <VBox/log.h>
     
    6768#include "../VBoxNetFltInternal.h"
    6869
    69 /*******************************************************************************
    70 *   Defined Constants And Macros                                               *
    71 *******************************************************************************/
     70
     71/*********************************************************************************************************************************
     72*   Defined Constants And Macros                                                                                                 *
     73*********************************************************************************************************************************/
    7274/** The module name. */
    7375#define DEVICE_NAME                     "vboxbow"
     
    114116
    115117
    116 /*******************************************************************************
    117 *   Kernel Entry Hooks                                                         *
    118 *******************************************************************************/
     118/*********************************************************************************************************************************
     119*   Kernel Entry Hooks                                                                                                           *
     120*********************************************************************************************************************************/
    119121LOCAL int VBoxNetFltSolarisAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd);
    120122LOCAL int VBoxNetFltSolarisDetach(dev_info_t *pDip, ddi_detach_cmd_t enmCmd);
     
    122124
    123125
    124 /*******************************************************************************
    125 *   Structures and Typedefs                                                    *
    126 *******************************************************************************/
     126/*********************************************************************************************************************************
     127*   Structures and Typedefs                                                                                                      *
     128*********************************************************************************************************************************/
    127129/**
    128130 * cb_ops: for drivers that support char/block entry points
     
    236238
    237239
    238 /*******************************************************************************
    239 *   Global Variables                                                           *
    240 *******************************************************************************/
     240/*********************************************************************************************************************************
     241*   Global Variables                                                                                                             *
     242*********************************************************************************************************************************/
    241243/** Global Device handle we only support one instance. */
    242244static dev_info_t *g_pVBoxNetFltSolarisDip = NULL;
     
    247249
    248250
    249 /*******************************************************************************
    250 *   Internal Functions                                                         *
    251 *******************************************************************************/
     251/*********************************************************************************************************************************
     252*   Internal Functions                                                                                                           *
     253*********************************************************************************************************************************/
    252254LOCAL mblk_t *vboxNetFltSolarisMBlkFromSG(PVBOXNETFLTINS pThis, PINTNETSG pSG, uint32_t fDst);
    253255LOCAL unsigned vboxNetFltSolarisMBlkCalcSGSegs(PVBOXNETFLTINS pThis, mblk_t *pMsg);
Note: See TracChangeset for help on using the changeset viewer.

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