VBoxNetAdp-solaris.c revision 691aac57c6f10a29a7507143a789f3dca28ed1f3
0N/A * available from http://www.virtualbox.org. This file is free software;
0N/A * Clara, CA 95054 USA or visit http://www.sun.com if you need
0N/A# define LOG_ENABLED
0N/A#define VBOXSOLQUOTE2(x) #x
0N/Astatic int VBoxNetAdpSolarisModOpen(queue_t *pQueue, dev_t *pDev, int fFile, int fStream, cred_t *pCred);
0N/Atypedef struct vboxnetadp_state_t
0N/Astatic int vboxNetAdpSolarisSetMulticast(gld_mac_info_t *pMacInfo, unsigned char *pMulticastAddr, int fMulticast);
0N/A case DDI_ATTACH:
0N/A return DDI_SUCCESS;
0N/A return DDI_FAILURE;
0N/A case DDI_RESUME:
0N/A return DDI_SUCCESS;
0N/A return DDI_FAILURE;
0N/A case DDI_DETACH:
0N/A return DDI_SUCCESS;
0N/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;
0N/A return DDI_FAILURE;
0N/A LogFlow((DEVICE_NAME ":VBoxNetAdpSolarisGenerateMac Generated %.*Rhxs\n", sizeof(RTMAC), &pMac));
0N/A return VINF_SUCCESS;
0N/A LogFlow((DEVICE_NAME ":vboxNetAdpSolarisSetMacAddress updated MAC %.*Rhxs\n", sizeof(RTMAC), &pState->CurrentMac));
0N/A return GLD_SUCCESS;
0N/A return GLD_FAILURE;
0N/A return GLD_SUCCESS;
0N/A return GLD_SUCCESS;
0N/Astatic int vboxNetAdpSolarisSetMulticast(gld_mac_info_t *pMacInfo, unsigned char *pMulticastAddr, int fMulticast)
0N/A return GLD_SUCCESS;