pypeafowl.FlowInfo

class pypeafowl.FlowInfo

Information about the flow.

FlowInfo.getAddressDst(self)

Returns the destination address.

FlowInfo.getAddressSrc(self)

Returns the source address.

FlowInfo.getId(self)

Returns a unique identifier of the flow.

FlowInfo.getPortDst(self)

Returns the destination port.

FlowInfo.getPortSrc(self)

Returns the source port.

FlowInfo.getProtocolL2(self)

Returns the L2 protocol of this flow.

FlowInfo.getProtocolL3(self)

Returns the L3 protocol of this flow.

FlowInfo.getProtocolL4(self)

Returns the L4 protocol of this flow.

FlowInfo.getProtocolsL7(self)

Some L7 protocols may be carried by other L7 protocols.

FlowInfo.getStatistic(self, stat, dir)

Returns a statistic of this flow for a specific direction.

FlowInfo.getThreadId(self)

Returns the identifier of the thread that managed this flow.

FlowInfo.getUserData(self)

Returns the user data associated to this flow.

FlowInfo.setUserData(self, udata)

Associates to this flow some user data.