packet_summary: Extract packet summary table (if any) from a PCAP

Description Usage Arguments Value Examples

View source: R/packet-sum.R

Description

Extract packet summary table (if any) from a PCAP

Usage

1

Arguments

pcap

path to PCAP file (path.expand() will be called on this value)

Value

data frame

Examples

1
2
3
4
tryCatch(
  packet_summary(system.file("pcap", "http.pcap", package = "tsharrk")),
  error = function(e) message("No tshark")
)

hrbrmstr/tsharrk documentation built on Dec. 20, 2021, 4:49 p.m.