|Applicable Versions||NetSim Standard||NetSim Pro|
NetSim_PACKET* fn_NetSim_Packet_CreatePacket(int nLayer) is available as an API provided by Networkstack.dll.
This declaration can be found in packet.h. Expand 'External dependencies' in any one project in NetSim.sln file to find the packet.h file. To find an example of how this API is used, you can see a call to this API in the fn_NetSim_Application_GeneratePacket() that is part of the Application.c file of the Application source code project.
Networkstack.dll file is a "protected" file and the associated source codes are not open to user modification. Only protocol source codes are provided to the users for modification.