Added code for packet reception and writing it to tun interface