VBoxNetAdp-solaris.c revision ee1c2a1c43d1ac3a8b30a99c4f47a14adc835837
869N/A * available from http://www.virtualbox.org. This file is free software;
869N/A#include "../VBoxNetAdpInternal.h"
869N/A#if defined(DEBUG_ramshankar)
869N/Atypedef struct vboxnetadp_state_t
869N/Astatic int vboxNetAdpSolarisSetMacAddress(gld_mac_info_t *pMacInfo, unsigned char *pszMacAddr);
868N/Astatic int vboxNetAdpSolarisSetMulticast(gld_mac_info_t *pMacInfo, unsigned char *pMulticastAddr, int fMulticast);
824N/A case DDI_ATTACH:
869N/A return DDI_SUCCESS;
824N/A return DDI_FAILURE;
869N/A case DDI_RESUME:
869N/A return DDI_SUCCESS;
869N/A return DDI_FAILURE;
0N/A case DDI_DETACH:
869N/A return DDI_SUCCESS;
46N/A LogRel((DEVICE_NAME ":VBoxNetAdpSolarisDetach failed to unregister GLD from MAC layer.rc=%d\n", rc));
0N/A return DDI_FAILURE;
0N/A case DDI_RESUME:
0N/A return DDI_SUCCESS;
756N/A return DDI_FAILURE;
869N/A LogFlow((DEVICE_NAME ":VBoxNetAdpSolarisGenerateMac Generated %.*Rhxs\n", sizeof(RTMAC), &pMac));
756N/A return VINF_SUCCESS;
869N/Astatic int vboxNetAdpSolarisSetMacAddress(gld_mac_info_t *pMacInfo, unsigned char *pszMacAddr)
0N/A LogFlow((DEVICE_NAME ":vboxNetAdpSolarisSetMacAddress updated MAC %.*Rhxs\n", sizeof(RTMAC), &pState->CurrentMac));
869N/A return GLD_SUCCESS;
0N/A return GLD_FAILURE;
869N/A return GLD_SUCCESS;
869N/A return GLD_SUCCESS;
869N/Astatic int vboxNetAdpSolarisSetMulticast(gld_mac_info_t *pMacInfo, unsigned char *pMulticastAddr, int fMulticast)
869N/A return GLD_SUCCESS;
868N/A return GLD_SUCCESS;