split some parts of the packet counting functions into their own files capture_info...