VirtualBox

Changeset 558 in vbox


Ignore:
Timestamp:
Feb 2, 2007 3:24:21 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18177
Message:

Added INetworkConnector callback for sending multiple packets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdm.h

    r528 r558  
    17441744} PDMNETWORKLINKSTATE;
    17451745
     1746
     1747/**
     1748 * Network packet description
     1749 */
     1750typedef struct PDMINETWORKPACKET
     1751{
     1752    size_t      cb;
     1753    void       *pvBuf;
     1754} PDMINETWORKPACKET, *PPDMINETWORKPACKET;
     1755
     1756
    17461757/** Pointer to a network connector interface */
    17471758typedef struct PDMINETWORKCONNECTOR *PPDMINETWORKCONNECTOR;
     
    17611772     */
    17621773    DECLR3CALLBACKMEMBER(int, pfnSend,(PPDMINETWORKCONNECTOR pInterface, const void *pvBuf, size_t cb));
     1774
     1775    /**
     1776     * Send multiple data packets to the network.
     1777     *
     1778     * @returns VBox status code.
     1779     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     1780     * @param   cPackets        Number of packets
     1781     * @param   paPacket        Packet description array
     1782     * @thread  EMT
     1783     */
     1784    DECLR3CALLBACKMEMBER(int, pfnSendEx,(PPDMINETWORKCONNECTOR pInterface, uint32_t cPackets, PPDMINETWORKPACKET paPacket));
    17631785
    17641786    /**
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