pypeafowl.Peafowl.dissectFromL3

Peafowl.dissectFromL3(self: pypeafowl.Peafowl, pkt: str, ts: float)pypeafowl.DissectionInfo

Dissects the packet starting from the beginning of the L3 (IP) header.

Args:
pkt

A string containing the packet.

ts

The current time. The time unit depends on the timers used by the caller and can be set through the setTimestampUnit call. By default it is assumed that the timestamps unit is ‘seconds’.

Returns:

The result of the dissection from L3 to L7.