NetSim Source Code Help
Loading...
Searching...
No Matches
HWI.h
Go to the documentation of this file.
1
/************************************************************************************
2
* Copyright (C) 2020 *
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
18
typedef
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
;
26
EXPORTED
ptrHWICALLBACK
hwiCallback
;
27
28
//Function prototype
29
int
fn_NetSim_Stack_RegisterHWI
();
ptrHWICALLBACK
struct stru_HWI_CallBack * ptrHWICALLBACK
hwiCallback
EXPORTED ptrHWICALLBACK hwiCallback
Definition:
HWI.h:26
HWICALLBACK
struct stru_HWI_CallBack HWICALLBACK
fn_NetSim_Stack_RegisterHWI
int fn_NetSim_Stack_RegisterHWI()
EXPORTED
#define EXPORTED
Definition:
Stack.h:46
stru_HWI_CallBack
Definition:
HWI.h:19
stru_HWI_CallBack::fnHWIStop
int(* fnHWIStop)()
Definition:
HWI.h:22
stru_HWI_CallBack::fnHWIStart
int(* fnHWIStart)()
Definition:
HWI.h:21
stru_HWI_CallBack::fnCleanup
int(* fnCleanup)()
Definition:
HWI.h:24
stru_HWI_CallBack::fnHWIConfigure
int(* fnHWIConfigure)(void *xmlNode)
Definition:
HWI.h:20
stru_HWI_CallBack::fnHWISend
bool(* fnHWISend)(NetSim_PACKET *)
Definition:
HWI.h:23
stru_NetSim_Packet
Definition:
Packet.h:255
ALL
Component 1
Part 4
Include
HWI.h
Generated on Fri Dec 9 2022 10:22:45 for NetSim Source Code Help by
1.9.5