#include <yafcore.h>
Data Fields | |
uint16_t | sp |
Source transport port. | |
uint16_t | dp |
Destination transport port. More... | |
uint8_t | proto |
IP protocol. | |
uint8_t | version |
IP Version. | |
uint16_t | vlanId |
VLAN Tag - only fwd. | |
uint8_t | tos |
Type of Service/Traffic Class. | |
union { | |
struct { | |
uint32_t sip | |
Source IPv4 address. | |
uint32_t dip | |
Destination IPv4 address. | |
} v4 | |
struct { | |
uint8_t sip [16] | |
Source IPv6 address. | |
uint8_t dip [16] | |
Destination IPv6 address. | |
} v6 | |
} | addr |
for DAG cards need to record the interface, may only be seeing unidirectional flows on each interface, and want to record what direction that is happening on More... | |
A YAF flow key.
Contains a flow's five-tuple; used at runtime in the flow table.
union { ... } yfFlowKey_st::addr |
for DAG cards need to record the interface, may only be seeing unidirectional flows on each interface, and want to record what direction that is happening on
IP address two-tuple union
uint16_t yfFlowKey_st::dp |
Destination transport port.
Contains type and code for ICMP