Rewriting IP packet length and packet header wire data length in summarizer