VirtualBox

Changeset 105726 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 19, 2024 2:05:15 PM (3 months ago)
Author:
vboxsync
Message:

Devices/Network: cleaned up header file, memory leak fixes, search domains pushed to guest on host network change only. bugref:10268

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmnetifs.h

    r104525 r105726  
    433433
    434434
     435/**
     436 * DNS Setting Update Payload
     437 * @sa PGMINETWORKNATCONFIG::pfnNotifyDnsChanged
     438 */
     439typedef struct PDMINETWORKNATDNSCONFIG
     440{
     441    /** Domain name.
     442     * (The length is per RFC2821 plus null char.) */
     443    char                szDomainName[256];
     444    /** Number of entries in the ppszNameServers array.   */
     445    size_t              cNameServers;
     446    /** Name servers (NULL terminated array). */
     447    const char * const *papszNameServers;
     448    /** Number of entries in the ppszSearchDomains array. */
     449    size_t              cSearchDomains;
     450    /** Search domains (NULL terminated array). */
     451    const char * const *papszSearchDomains;
     452} PDMINETWORKNATDNSCONFIG;
     453/** Pointer to a const DNS settings update payload.
     454 * @sa PGMINETWORKNATCONFIG::pfnNotifyDnsChanged */
     455typedef PDMINETWORKNATDNSCONFIG const *PCPDMINETWORKNATDNSCONFIG;
     456
     457
    435458/** Pointer to a NAT configuration port.   */
    436459typedef struct PDMINETWORKNATCONFIG *PPDMINETWORKNATCONFIG;
     
    455478     * IHostNameResolutionConfigurationChangeEvent.
    456479     */
    457     DECLR3CALLBACKMEMBER(void, pfnNotifyDnsChanged, (PPDMINETWORKNATCONFIG pInterface));
     480    DECLR3CALLBACKMEMBER(void, pfnNotifyDnsChanged, (PPDMINETWORKNATCONFIG pInterface, PCPDMINETWORKNATDNSCONFIG pDnsConfig));
    458481
    459482} PDMINETWORKNATCONFIG;
    460483/** PDMINETWORKNATCONFIG interface ID. */
    461 #define PDMINETWORKNATCONFIG_IID                "dc961028-3523-4b52-a93b-e38168a4a9fa"
     484#define PDMINETWORKNATCONFIG_IID                "16de6afe-e48f-4cad-abc0-f96507683376"
    462485/** @} */
    463486
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