parse mutliple packets