/** $Id: vbox-libdlpi.h 8960 2008-05-20 14:49:14Z vboxsync $ */ /** @file * Dynamically load libdpli & symbols on Solaris hosts, Internal header. */ /* * Copyright (C) 2008 Sun Microsystems, Inc. * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) as published by the Free Software * Foundation, in version 2 as it comes in the "COPYING" file of the * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa * Clara, CA 95054 USA or visit http://www.sun.com if you need * additional information or have any questions. */ #ifndef ____H_VBOX_LIBDLPI #define ____H_VBOX_LIBDLPI #define LIB_DLPI "libdlpi.so" #include extern int (*g_pfnLibDlpiOpen)(const char *, dlpi_handle_t *, uint_t); extern void (*g_pfnLibDlpiClose)(dlpi_handle_t); extern int (*g_pfnLibDlpiInfo)(dlpi_handle_t, dlpi_info_t *, uint_t); extern int (*g_pfnLibDlpiBind)(dlpi_handle_t, uint_t, uint_t *); extern int (*g_pfnLibDlpiSetPhysAddr)(dlpi_handle_t, uint_t, const void *, size_t); extern int (*g_pfnLibDlpiPromiscon)(dlpi_handle_t, uint_t); extern int (*g_pfnLibDlpiRecv)(dlpi_handle_t, void *, size_t *, void *, size_t *, int, dlpi_recvinfo_t *); extern int (*g_pfnLibDlpiFd)(dlpi_handle_t); extern bool VBoxLibDlpiFound(void); #endif /* ____H_VBOX_LIBDLPI not defined */