PcapFileEx.Header (pcap_file_ex v0.5.5)
View SourceRepresents a PCAP file header.
Summary
Functions
Creates a Header struct from a map returned by the NIF.
Converts a Header struct to a map for passing to NIFs.
Types
@type datalink() :: String.t()
@type endianness() :: String.t()
@type t() :: %PcapFileEx.Header{ datalink: datalink(), endianness: endianness(), snaplen: non_neg_integer(), ts_resolution: ts_resolution(), version_major: non_neg_integer(), version_minor: non_neg_integer() }
@type ts_resolution() :: String.t()