Pcapex.Packet (pcapex v0.0.6)
Link to this section Summary
Link to this section Types
Link to this type
params()
Specs
params() :: [ data: binary(), timestamp_usec: pos_integer(), timestamp_sec: float(), original_size: pos_integer() ]
Specs
t() :: %Pcapex.Packet{ data: binary(), original_size: pos_integer(), timestamp_usec: pos_integer() }
Link to this section Functions
Link to this function
datetime(packet)
Specs
datetime(t()) :: DateTime.t()
Link to this function
from_hex(hex_data, params)
Specs
Link to this function
new(params)
Specs
Link to this function
new(data, timestamp_usec, original_size \\ nil)
Specs
new(binary(), pos_integer(), pos_integer() | nil) :: t()
Link to this function
timestamp_sec(packet)
Specs
Link to this function