User Guide
API Reference
Customize
pypeafowl.
DissectionInfoL2
L2 information about the packet.
DissectionInfoL2.getLength(self)
DissectionInfoL2.getLength
Returns the length of the L2 header.
DissectionInfoL2.getProtocol(self)
DissectionInfoL2.getProtocol
Returns the L2 protocol.