Add UDP packet functionality