pypeafowl.DissectionInfoL4

class pypeafowl.DissectionInfoL4

L4 information about the packet.

DissectionInfoL4.getDirection(self)

Returns the packet direction with respect to the flow.

DissectionInfoL4.getLength(self)

Returns the length of the L4 header.

DissectionInfoL4.getPayloadLength(self)

Returns the length of the L4 payload..

DissectionInfoL4.getPortDst(self)

Returns the destination port, in network byte order.

DissectionInfoL4.getPortSrc(self)

Returns the source port, in network byte order.

DissectionInfoL4.getProtocol(self)

Returns the L4 protocol.

DissectionInfoL4.getResegmentedPacket(self)

Returns the resegmented TCP packet and its length.