Network packet parser generator