Network packet analyzer

Do you happen to know what will be the format of the packages or you want to decode or you want to do deduction on your own?

I do not know any existing library for that, but with binary pattern matching it would be mostly manual work to do so.