pass argument DeviceID to func craftPacket to identify virtual device the packet is intended for