1. Packet sending process moved to send_packet function
2. Function names are modified with pgen_ prefix
3. New function to compare strings pgen_strcmp introduced. It internally
uses strncmp to compare strings
1. memset sp_pd to 0
2. Create packet headers only if option is set