NetSim Source Code Help v14.4
All 13 Components
 
Loading...
Searching...
No Matches
HWI.h
1/************************************************************************************
2* Copyright (C) 2023 *
3* TETCOS, Bangalore. India *
4* *
5* Tetcos owns the intellectual property rights in the Product and its content. *
6* The copying, redistribution, reselling or publication of any or all of the *
7* Product or its content without express prior written consent of Tetcos is *
8* prohibited. Ownership and / or any other right relating to the software and all *
9* intellectual property rights therein shall remain at all times with Tetcos. *
10* *
11* Author: Shashi Kant Suman
12* *
13* ---------------------------------------------------------------------------------*/
14#pragma once
15
16#define RCVSIZ 8192 //Bytes
17
18typedef struct stru_HWI_CallBack
19{
20 int(*fnHWIConfigure)(void* xmlNode);
21 int(*fnHWIStart)();
22 int(*fnHWIStop)();
23 bool(*fnHWISend)(NetSim_PACKET*);
24 int(*fnCleanup)();
25}HWICALLBACK,*ptrHWICALLBACK;
26EXPORTED ptrHWICALLBACK hwiCallback;
27
28//Function prototype
29int fn_NetSim_Stack_RegisterHWI();