VirtualBox

Changeset 17443 in vbox for trunk


Ignore:
Timestamp:
Mar 6, 2009 9:56:18 AM (16 years ago)
Author:
vboxsync
Message:

#3656: Moved IP config function stubs from solaris, darwin and linux to Main/generic for common implementation.

Location:
trunk/src/VBox/Main
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r17333 r17443  
    372372 VBoxSVC_SOURCES.solaris += solaris/NetIfList-solaris.cpp
    373373 VBoxSVC_DEFS            += VBOX_WITH_HOSTNETIF_API
     374 if1of ($(KBUILD_TARGET), linux darwin solaris)
     375  VBoxSVC_SOURCES        += generic/NetIf-generic.cpp
     376 endif
    374377endif
    375378
  • trunk/src/VBox/Main/darwin/NetIfList-darwin.cpp

    r17419 r17443  
    140140    return VINF_SUCCESS;
    141141}
    142 
    143 int NetIfEnableStaticIpConfig(HostNetworkInterface * pIf, ULONG ip, ULONG mask)
    144 {
    145     return VERR_NOT_IMPLEMENTED;
    146 }
    147 
    148 int NetIfEnableStaticIpConfigV6(HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength)
    149 {
    150     return VERR_NOT_IMPLEMENTED;
    151 }
    152 
    153 int NetIfEnableDynamicIpConfig(HostNetworkInterface * pIf)
    154 {
    155     return VERR_NOT_IMPLEMENTED;
    156 }
  • trunk/src/VBox/Main/linux/NetIfList-linux.cpp

    r17419 r17443  
    158158    return rc;
    159159}
    160 
    161 int NetIfEnableStaticIpConfig(HostNetworkInterface * pIf, ULONG ip, ULONG mask)
    162 {
    163     return VERR_NOT_IMPLEMENTED;
    164 }
    165 
    166 int NetIfEnableStaticIpConfigV6(HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength)
    167 {
    168     return VERR_NOT_IMPLEMENTED;
    169 }
    170 
    171 int NetIfEnableDynamicIpConfig(HostNetworkInterface * pIf)
    172 {
    173     return VERR_NOT_IMPLEMENTED;
    174 }
  • trunk/src/VBox/Main/solaris/NetIfList-solaris.cpp

    r17419 r17443  
    382382}
    383383#endif
    384 
    385 int NetIfEnableStaticIpConfig(HostNetworkInterface * pIf, ULONG ip, ULONG mask)
    386 {
    387     return VERR_NOT_IMPLEMENTED;
    388 }
    389 
    390 int NetIfEnableStaticIpConfigV6(HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength)
    391 {
    392     return VERR_NOT_IMPLEMENTED;
    393 }
    394 
    395 int NetIfEnableDynamicIpConfig(HostNetworkInterface * pIf)
    396 {
    397     return VERR_NOT_IMPLEMENTED;
    398 }
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