PcapFileEx.Interface (pcap_file_ex v0.5.5)
View SourceMetadata describing an interface present in a PCAPNG capture.
Summary
Functions
Converts an Interface struct to a map for passing to NIFs.
Types
@type t() :: %PcapFileEx.Interface{ description: String.t() | nil, id: non_neg_integer(), linktype: String.t(), name: String.t() | nil, snaplen: non_neg_integer(), timestamp_offset_secs: non_neg_integer(), timestamp_resolution: timestamp_resolution(), timestamp_resolution_raw: String.t() }
@type timestamp_resolution() ::
:microsecond | :nanosecond | :millisecond | :second | :unknown