YAF - Documentation - Core Library 1.0.0 API
Documentation | Downloads

yfFlowKey_st Struct Reference

A YAF flow key. More...

#include <yafcore.h>


Data Fields

uint16_t sp
 Source transport port.
uint16_t dp
 Destination transport port.
uint8_t proto
 IP protocol.
uint8_t version
 IP Version.
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

Detailed Description

A YAF flow key.

Contains a flow's five-tuple; used at runtime in the flow table.


Field Documentation

uint16_t yfFlowKey_st::dp

Destination transport port.

Contains type and code for ICMP


The documentation for this struct was generated from the following file: