49 fnNetSimError(
"Gateway is not configured for device %d",nDeviceId);
53 fnNetSimError(
"DNS-- Netwok layer is not configured for device %d",ngatewayId);
NETSIM_ID fnFindGateway(NETSIM_ID nDeviceId)
NETSIM_IPAddress dns_query(NETSIM_ID nDeviceId, NETSIM_ID id)
#define _declspec(dllexport)
This function is used to trigger the update.
#define fnNetSimError(x,...)
#define LIST_ADD_LAST(ls, mem)
#define LIST_FREE(ls, mem)
NETSIM_IPAddress fn_NetSim_Stack_GetFirstIPAddressAsId(NETSIM_ID nDeviceId, unsigned int type)
EXPORTED struct stru_NetSim_Network * NETWORK
#define DEVICE_NWLAYER(DeviceId)
NETSIM_ID fn_NetSim_Stack_GetDeviceId_asIP(NETSIM_IPAddress ip, NETSIM_ID *nInterfaceId)
Structure to store the device ip details.
struct stru_NetSim_Interface ** ppstruInterfaceList
NETSIM_ID nNumOfInterface
NETSIM_IPAddress szDefaultGateWay
struct stru_NetSim_Device ** ppstruDeviceList