VirtualBox

Changeset 26916 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 1, 2010 2:53:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58200
Message:

VBoxHDD: introduce new function pointers to the TCP interface for getting the local and peer address of a socket

File:
1 edited

Legend:

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

    r26163 r26916  
    3434#include <iprt/string.h>
    3535#include <iprt/mem.h>
     36#include <iprt/net.h>
    3637#include <VBox/cdefs.h>
    3738#include <VBox/types.h>
     
    10111012    DECLR3CALLBACKMEMBER(int, pfnFlush, (RTSOCKET Sock));
    10121013
     1014    /**
     1015     * Gets the address of the local side.
     1016     *
     1017     * @return  iprt status code.
     1018     * @param   Sock        Socket descriptor.
     1019     * @param   pAddr       Where to store the local address on success.
     1020     */
     1021    DECLR3CALLBACKMEMBER(int, pfnGetLocalAddress, (RTSOCKET Sock, PRTNETADDR pAddr));
     1022
     1023    /**
     1024     * Gets the address of the other party.
     1025     *
     1026     * @return  iprt status code.
     1027     * @param   Sock        Socket descriptor.
     1028     * @param   pAddr       Where to store the peer address on success.
     1029     */
     1030    DECLR3CALLBACKMEMBER(int, pfnGetPeerAddress, (RTSOCKET Sock, PRTNETADDR pAddr));
     1031
    10131032} VDINTERFACETCPNET, *PVDINTERFACETCPNET;
    10141033
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