tshark_hosts: Extract hostname/IP table (if any) from a PCAP

Description Usage Arguments Value Examples

View source: R/tshark-hosts.R

Description

Extract hostname/IP 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(
  tshark_hosts(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.