passing non pointer value to send packet