20 unsigned long* uSeed1,
21 unsigned long* uSeed2,
22 unsigned long* uSeed3)
28 }
while (*fSize <= 1.0);
33 }
while (time <= 0.0);
34 *ldArrival = *ldArrival + time;
56 double arrivalTime = 0;
57 double packetSize = 0;
NetSim_PACKET * fn_NetSim_Application_GeneratePacket(ptrAPPLICATION_INFO info, double ldArrivalTime, NETSIM_ID nSourceId, UINT destCount, NETSIM_ID *nDestination, unsigned long long int nPacketId, APPLICATION_TYPE nAppType, QUALITY_OF_SERVICE nQOS, unsigned int sourcePort, unsigned int destPort)
int fnCreateSocketBuffer(ptrAPPLICATION_INFO appInfo)
int fnDistribution(DISTRIBUTION nDistributionType, double *fDistOut, unsigned long *uSeed, unsigned long *uSeed1, double *args)
void fnCreatePort(ptrAPPLICATION_INFO info)
struct stru_Application_BSMInfo * PAPP_BSM_INFO
int fn_NetSim_Application_StartBSM(ptrAPPLICATION_INFO appInfo, double time)
int fn_NetSim_Application_BSM(PAPP_BSM_INFO info, double *fSize, double *ldArrival, unsigned long *uSeed, unsigned long *uSeed1, unsigned long *uSeed2, unsigned long *uSeed3)
bool add_sae_j2735_payload(NetSim_PACKET *packet, ptrAPPLICATION_INFO info)
void process_saej2735_packet(NetSim_PACKET *packet)
#define PROTOCOL_APPLICATION
#define DEVICE_TYPE(DeviceId)
#define NETSIM_RAND_RN(max, min)
EXPORTED struct stru_NetSim_Network * NETWORK
EXPORTED struct stru_NetSim_EventDetails * pstruEventDetails
#define fnpAddEvent(pstruEvent)
Structure for Data information such as packet size and inter arrival time,this is applicable for Vane...
DISTRIBUTION IATDistribution
DISTRIBUTION packetSizeDistribution
Structure to store application information.
APPLICATION_TYPE nAppType
unsigned long long int nPacketId
unsigned long ulSeed[SEED_COUNT]
struct stru_NetSim_Packet * pPacket
netsimDEVICE_TYPE nDeviceType
struct stru_NetSim_Device ** ppstruDeviceList