VirtualBox

Changeset 30309 in vbox for trunk/include


Ignore:
Timestamp:
Jun 18, 2010 12:25:12 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62857
Message:

Storage/iSCSI: switch to sending in a single call, avoiding separate sending of iSCSI PDU header separately on some IP stacks. Adjustments to VBoxHDD, DrvVD and MediumImpl to pass the required VD interface methods.

File:
1 edited

Legend:

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

    r30178 r30309  
    10601060
    10611061    /**
    1062      * Send data from a socket.
     1062     * Send data to a socket.
    10631063     *
    10641064     * @return  iprt status code.
     
    10661066     * @param   pvBuffer    Buffer to write data to socket.
    10671067     * @param   cbBuffer    How much to write.
    1068      * @param   pcbRead     Number of bytes read.
    10691068     */
    10701069    DECLR3CALLBACKMEMBER(int, pfnWrite, (RTSOCKET Sock, const void *pvBuffer, size_t cbBuffer));
    10711070
    10721071    /**
    1073      * Flush socket write buffers.
     1072     * Send data from scatter/gather buffer to a socket.
    10741073     *
    10751074     * @return  iprt status code.
    10761075     * @param   Sock        Socket descriptor.
     1076     * @param   pSgBuf      Scatter/gather buffer to write data to socket.
     1077     */
     1078    DECLR3CALLBACKMEMBER(int, pfnSgWrite, (RTSOCKET Sock, PCRTSGBUF pSgBuf));
     1079
     1080    /**
     1081     * Flush socket write buffers.
     1082     *
     1083     * @return  iprt status code.
     1084     * @param   Sock        Socket descriptor.
    10771085     */
    10781086    DECLR3CALLBACKMEMBER(int, pfnFlush, (RTSOCKET Sock));
     1087
     1088    /**
     1089     * Enables or disables delaying sends to coalesce packets.
     1090     *
     1091     * @return  iprt status code.
     1092     * @param   Sock        Socket descriptor.
     1093     * @param   fEnable     When set to true enables coalescing.
     1094     */
     1095    DECLR3CALLBACKMEMBER(int, pfnSetSendCoalescing, (RTSOCKET Sock, bool fEnable));
    10791096
    10801097    /**
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