add packet definition