Go to the documentation of this file.
18 #ifndef SURICATA_FLOW_BINDGEN_H
19 #define SURICATA_FLOW_BINDGEN_H
bool SCFlowIsIPv4(const Flow *flow)
Return true if the flow is IPv4.
const uint8_t * SCFlowGetSourceAddressAsRawPtr(const Flow *flow)
Returns a borrowed raw pointer to the flow source address.
uint16_t SCFlowGetDestinationPort(const Flow *flow)
Get flow destination port.
void SCFlowGetLastTimeAsParts(const Flow *flow, uint64_t *secs, uint64_t *usecs)
Get flow last time as individual values.
uint8_t SCFlowGetIPProtocol(const Flow *flow)
Get flow IP protocol.
AppProto SCFlowGetAppProtocol(const Flow *f)
uint16_t SCFlowGetSourcePort(const Flow *flow)
Get flow source port.
uint32_t SCFlowGetToServerPacketCount(const Flow *flow)
Get the number of packets seen toserver.
const uint8_t * SCFlowGetDestinationAddressAsRawPtr(const Flow *flow)
Returns a borrowed raw pointer to the flow destination address.
bool SCFlowIsIPv6(const Flow *flow)
Return true if the flow is IPv6.
uint32_t SCFlowGetToClientPacketCount(const Flow *flow)
Get the number of packets seen toclient.
uint64_t SCFlowGetFlags(const Flow *flow)
Get flow flags.