pcap_print_summary() function
Print the summary of pcap file into stream
Arguments
pcap
pcap file handle created by `pcap_new_session()`
print_file
the file stream to save the summary
Return value
- ESP_OK: Print pcap file summary successfully - ESP_ERR_INVALID_ARG: Print pcap file summary failed because of invalid argument - ESP_FAIL: Print pcap file summary failed