Pass Packet by pointer instead of value

Signed-off-by: Lilis Iskandar <veeableful@gmail.com>