VirtualBox

Changeset 50671 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Mar 4, 2014 1:18:02 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92609
Message:

NAT/libslirp.h: intoduces macrodefinition HAVE_NOTIFICATION_FOR_DNS_UPDATE which 1 for OSes where NAT/Slirp receives notications about DNS changes: now it's Darwin only, but since 4.3 Main API exports routines to handle this in more generic way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/libslirp.h

    r50045 r50671  
    9797
    9898/**
     99 * This macrodefinition is shortcut for check of hosts where Slirp,
     100 * receives notifications from host. For now it's Darwin only. But
     101 * Main API has primitives for listening DNS change event since 4.3.
     102 */
     103#if (defined(RT_OS_DARWIN))
     104# define HAVE_NOTIFICATION_FOR_DNS_UPDATE 1
     105#else
     106# define HAVE_NOTIFICATION_FOR_DNS_UPDATE 0
     107#endif
     108
     109
     110/**
    99111 * This method help DrvNAT to select strategy: about VMRESUMEREASON_HOST_RESUME:
    100112 * - proceed with link termination (we let guest track host DNS settings)
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