Change GenerateTraffic to SendPacket