NetSim Source Code Help
Loading...
Searching...
No Matches
IEEE1609.c File Reference
#include "main.h"
#include "Protocol.h"
#include "IEEE1609.h"
Include dependency graph for IEEE1609.c:

Go to the source code of this file.

Functions

void fn_NetSim_IEEE1609_TimerEvent ()
 
int fn_NetSim_IEEE1609_Configure_F (void **)
 
int fn_NetSim_IEEE1609_Init_F (struct stru_NetSim_Network *NETWORK_Formal, NetSim_EVENTDETAILS *pstruEventDetails_Formal, char *pszAppPath_Formal, char *pszWritePath_Formal, int nVersion_Type)
 
int fn_NetSim_IEEE1609_Finish_F ()
 
int fn_NetSim_IEEE1609_Configure (void **var)
 
int fn_NetSim_IEEE1609_Init (struct stru_NetSim_Network *NETWORK_Formal, NetSim_EVENTDETAILS *pstruEventDetails_Formal, char *pszAppPath_Formal, char *pszWritePath_Formal, int nVersion_Type)
 
int fn_NetSim_IEEE1609_Run ()
 
char * fn_NetSim_IEEE1609_Trace (int nSubEvent)
 
int fn_NetSim_IEEE1609_FreePacket (NetSim_PACKET *pstruPacket)
 
int fn_NetSim_IEEE1609_CopyPacket (NetSim_PACKET *pstruDestPacket, NetSim_PACKET *pstruSrcPacket)
 
int fn_NetSim_IEEE1609_Metrics (PMETRICSWRITER metricsWriter)
 
char * fn_NetSim_IEEE1609_ConfigPacketTrace (const void *xmlNetSimNode)
 
int fn_NetSim_IEEE1609_WritePacketTrace (NetSim_PACKET *pstruPacket, char **ppszTrace)
 
int fn_NetSim_IEEE1609_Finish ()
 
void restart_transmission ()
 

Function Documentation

◆ fn_NetSim_IEEE1609_ConfigPacketTrace()

char * fn_NetSim_IEEE1609_ConfigPacketTrace ( const void *  xmlNetSimNode)

This function is to configure the WLAN protocol packet trace parameter. This function return a string which has the parameters separated by comma.

Definition at line 122 of file IEEE1609.c.

◆ fn_NetSim_IEEE1609_Configure()

int fn_NetSim_IEEE1609_Configure ( void **  var)

Definition at line 28 of file IEEE1609.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE1609_Configure_F()

int fn_NetSim_IEEE1609_Configure_F ( void **  )
Here is the caller graph for this function:

◆ fn_NetSim_IEEE1609_CopyPacket()

int fn_NetSim_IEEE1609_CopyPacket ( NetSim_PACKET pstruDestPacket,
NetSim_PACKET pstruSrcPacket 
)

This function is called by NetworkStack.dll, to copy the WLAN protocol pstruMacData->Packet_MACProtocol from source packet to destination.

Definition at line 105 of file IEEE1609.c.

◆ fn_NetSim_IEEE1609_Finish()

int fn_NetSim_IEEE1609_Finish ( )

This function is called by NetworkStack.dll, once simulation end to free the allocated memory for the network.

Definition at line 140 of file IEEE1609.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE1609_Finish_F()

int fn_NetSim_IEEE1609_Finish_F ( )
Here is the caller graph for this function:

◆ fn_NetSim_IEEE1609_FreePacket()

int fn_NetSim_IEEE1609_FreePacket ( NetSim_PACKET pstruPacket)

This function is called by NetworkStack.dll, to free the WLAN protocol pstruMacData->Packet_MACProtocol.

Definition at line 96 of file IEEE1609.c.

◆ fn_NetSim_IEEE1609_Init()

int fn_NetSim_IEEE1609_Init ( struct stru_NetSim_Network NETWORK_Formal,
NetSim_EVENTDETAILS pstruEventDetails_Formal,
char *  pszAppPath_Formal,
char *  pszWritePath_Formal,
int  nVersion_Type 
)

Definition at line 33 of file IEEE1609.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE1609_Init_F()

int fn_NetSim_IEEE1609_Init_F ( struct stru_NetSim_Network NETWORK_Formal,
NetSim_EVENTDETAILS pstruEventDetails_Formal,
char *  pszAppPath_Formal,
char *  pszWritePath_Formal,
int  nVersion_Type 
)
Here is the caller graph for this function:

◆ fn_NetSim_IEEE1609_Metrics()

int fn_NetSim_IEEE1609_Metrics ( PMETRICSWRITER  metricsWriter)

This function call WLAN Metrics function in lib file to write the Metrics in Metrics.txt

Definition at line 113 of file IEEE1609.c.

◆ fn_NetSim_IEEE1609_Run()

int fn_NetSim_IEEE1609_Run ( )

Definition at line 45 of file IEEE1609.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE1609_TimerEvent()

void fn_NetSim_IEEE1609_TimerEvent ( )

Definition at line 145 of file IEEE1609.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fn_NetSim_IEEE1609_Trace()

char * fn_NetSim_IEEE1609_Trace ( int  nSubEvent)

This function is called by NetworkStack.dll, while writing the event trace to get the sub event as a string.

Definition at line 87 of file IEEE1609.c.

◆ fn_NetSim_IEEE1609_WritePacketTrace()

int fn_NetSim_IEEE1609_WritePacketTrace ( NetSim_PACKET pstruPacket,
char **  ppszTrace 
)

This function is called while writing the Packet trace for WLAN protocol. This function is called for every packet while writing the packet trace.

Definition at line 131 of file IEEE1609.c.

◆ restart_transmission()

void restart_transmission ( )

Definition at line 161 of file IEEE1609.c.

Here is the caller graph for this function: