suricata
|
Go to the source code of this file.
Typedefs | |
typedef struct Flow_ | Flow |
Functions | |
void | SCFlowGetLastTimeAsParts (const Flow *flow, uint64_t *secs, uint64_t *usecs) |
Get flow last time as individual values. More... | |
uint32_t | SCFlowGetFlags (const Flow *flow) |
Get flow flags. More... | |
uint16_t | SCFlowGetSourcePort (const Flow *flow) |
Get flow source port. More... | |
uint16_t | SCFlowGetDestinationPort (const Flow *flow) |
Get flow destination port. More... | |
Definition at line 1 of file flow-bindgen.h.
uint16_t SCFlowGetDestinationPort | ( | const Flow * | flow | ) |
uint32_t SCFlowGetFlags | ( | const Flow * | flow | ) |
Get flow flags.
A function to get the flow flags useful when the caller only has an opaque pointer to the flow structure.
Definition at line 1228 of file flow.c.
References Flow_::flags.
void SCFlowGetLastTimeAsParts | ( | const Flow * | flow, |
uint64_t * | secs, | ||
uint64_t * | usecs | ||
) |
Get flow last time as individual values.
Instead of returning a pointer to the timeval copy the timeval parts into output pointers to make it simpler to call from Rust over FFI using only basic data types.
Definition at line 1193 of file flow.c.
References Flow_::lastts, SCTIME_SECS, and SCTIME_USECS.