VirtualBox

Ignore:
Timestamp:
Oct 20, 2015 1:58:41 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103540
Message:

HostDrivers: Doxygen fixes

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h

    r56293 r58340  
    382382 *
    383383 * @param   pThis           The instance.
     384 * @param   fActive         Whether to active (@c true) or deactive.
    384385 *
    385386 * @remarks Owns the lock for the out-bound trunk port.
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r58254 r58340  
    771771 * @param   pBuf                The sk_buff.
    772772 * @param   pSG                 The SG.
    773  * @param   pvFrame             The frame pointer, optional.
    774773 * @param   cSegs               The number of segments allocated for the SG.
    775774 *                              This should match the number in the mbuf exactly!
    776775 * @param   fSrc                The source of the frame.
    777  * @param   pGso                Pointer to the GSO context if it's a GSO
     776 * @param   pGsoCtx             Pointer to the GSO context if it's a GSO
    778777 *                              internal network frame.  NULL if regular frame.
    779778 */
     
    846845
    847846/**
    848  * Packet handler,
    849  *
    850  * @returns 0 or EJUSTRETURN.
    851  * @param   pThis           The instance.
    852  * @param   pMBuf           The mbuf.
    853  * @param   pvFrame         The start of the frame, optional.
    854  * @param   fSrc            Where the packet (allegedly) comes from, one INTNETTRUNKDIR_* value.
    855  * @param   eProtocol       The protocol.
     847 * Packet handler; not really documented - figure it out yourself.
     848 *
     849 * @returns 0 or EJUSTRETURN - this is probably copy & pastry and thus wrong.
    856850 */
    857851#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
     
    13721366
    13731367/**
    1374  *
     1368 * I won't disclose what I do, figure it out yourself, including pThis referencing.
     1369 *
     1370 * @param   pThis       The net filter instance.
    13751371 * @param   pBuf        The socket buffer.  This is consumed by this function.
    13761372 */
     
    16091605 * @returns VBox status code.
    16101606 * @param   pThis           The instance.
    1611  * @param   fRediscovery    If set we're doing a rediscovery attempt, so, don't
    1612  *                          flood the release log.
     1607 * @param   pDev            The device to attach to.
    16131608 */
    16141609static int vboxNetFltLinuxAttachToInterface(PVBOXNETFLTINS pThis, struct net_device *pDev)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r57358 r58340  
    124124 * Stream Driver hooks.
    125125 */
    126 static int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pArg, void **ppResult);
     126static int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pArg, void **ppvResult);
    127127static int VBoxNetFltSolarisAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd);
    128128static int VBoxNetFltSolarisDetach(dev_info_t *pDip, ddi_detach_cmd_t enmCmd);
     
    718718 * @returns  corresponding solaris error code.
    719719 */
    720 static int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pvArg, void **ppResult)
     720static int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pvArg, void **ppvResult)
    721721{
    722722    LogFunc((DEVICE_NAME ":VBoxNetFltSolarisGetInfo pDip=%p enmCmd=%d pArg=%p instance=%d\n", pDip, enmCmd,
     
    727727        case DDI_INFO_DEVT2DEVINFO:
    728728        {
    729             *ppResult = g_pVBoxNetFltSolarisDip;
     729            *ppvResult = g_pVBoxNetFltSolarisDip;
    730730            return DDI_SUCCESS;
    731731        }
     
    734734        {
    735735            int instance = getminor((dev_t)pvArg);
    736             *ppResult = (void *)(uintptr_t)instance;
     736            *ppvResult = (void *)(uintptr_t)instance;
    737737            return DDI_SUCCESS;
    738738        }
     
    13181318 *
    13191319 * @returns VBox status code.
    1320  * @param   pQueue      Pointer to the read queue.
     1320 * @param   pPromiscStream  Pointer to the read queue.
    13211321 */
    13221322static int vboxNetFltSolarisSetRawMode(vboxnetflt_promisc_stream_t *pPromiscStream)
     
    18221822 *
    18231823 * @returns VBox status code.
     1824 * @param   pVNode  Pointer to the device vnode.
    18241825 * @param   MuxId   The multiplexor ID.
    18251826 * @param   pFd     Where to store the lower stream file descriptor.
     
    19091910 *
    19101911 * @returns VBox status code.
     1912 * @param   fAttach     Is this an attach or detach.
    19111913 * @param   pVNode      Pointer to the lower stream vnode.
    19121914 * @param   pModPos     Where to store the module position.
     
    26452647 * Ipv6 dynamic attachment timer callback to attach to the Ipv6 stream if needed.
    26462648 *
    2647  * @param   pThis           Pointer to the timer.
     2649 * @param   pTimer          Pointer to the timer.
    26482650 * @param   pvData          Opaque pointer to the instance.
    26492651 * @param   iTick           Timer tick (unused).
     
    28512853 * @param   pThis           The instance.
    28522854 * @param   pSG             Pointer to the scatter-gather list.
     2855 * @param   fDst            The destination mask, INTNETTRUNKDIR_XXX. Ignored.
    28532856 */
    28542857static mblk_t *vboxNetFltSolarisMBlkFromSG(PVBOXNETFLTINS pThis, PINTNETSG pSG, uint32_t fDst)
     
    29672970 * @returns VBox status code.
    29682971 * @param   pMsg        Pointer to the raw message.
    2969  * @param   pDlpiMsg    Where to store the M_PROTO message.
     2972 * @param   ppDlpiMsg   Where to store the M_PROTO message.
    29702973 *
    29712974 * @remarks The original raw message would be no longer valid and will be
     
    33703373 * @param   pStream     Pointer to the stream.
    33713374 * @param   pQueue      Pointer to the read queue.
    3372  * @param   pOrigMsg    Pointer to the message.
     3375 * @param   pMsg        Pointer to the message.
    33733376 */
    33743377static int vboxNetFltSolarisRecv(PVBOXNETFLTINS pThis, vboxnetflt_stream_t *pStream, queue_t *pQueue, mblk_t *pMsg)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c

    r57867 r58340  
    121121LOCAL int VBoxNetFltSolarisAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd);
    122122LOCAL int VBoxNetFltSolarisDetach(dev_info_t *pDip, ddi_detach_cmd_t enmCmd);
    123 LOCAL int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pArg, void **ppResult);
     123LOCAL int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pArg, void **ppvResult);
    124124
    125125
     
    425425 * @returns corresponding solaris error code.
    426426 */
    427 LOCAL int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pvArg, void **ppResult)
     427LOCAL int VBoxNetFltSolarisGetInfo(dev_info_t *pDip, ddi_info_cmd_t enmCmd, void *pvArg, void **ppvResult)
    428428{
    429429    Log((DEVICE_NAME ":VBoxNetFltSolarisGetInfo pDip=%p enmCmd=%d pArg=%p instance=%d\n", pDip, enmCmd, getminor((dev_t)pvArg)));
     
    433433        case DDI_INFO_DEVT2DEVINFO:
    434434        {
    435             *ppResult = g_pVBoxNetFltSolarisDip;
     435            *ppvResult = g_pVBoxNetFltSolarisDip;
    436436            return DDI_SUCCESS;
    437437        }
     
    440440        {
    441441            int instance = getminor((dev_t)pvArg);
    442             *ppResult = (void *)(uintptr_t)instance;
     442            *ppvResult = (void *)(uintptr_t)instance;
    443443            return DDI_SUCCESS;
    444444        }
     
    812812 * @param   pThis           The instance.
    813813 * @param   pVNIC           Pointer to the VNIC.
    814  * @param   pVNICTemplate   Pointer to the VNIC template initialize from, can be
    815  *                          NULL.
    816814 *
    817815 * @returns VBox status code.
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