DPDK  1.8.0
Data Fields
rte_5tuple_filter Struct Reference

#include <rte_ethdev.h>

Data Fields

uint32_t dst_ip
uint32_t src_ip
uint16_t dst_port
uint16_t src_port
uint8_t protocol
uint8_t tcp_flags
uint16_t priority
uint8_t dst_ip_mask:1
uint8_t src_ip_mask:1
uint8_t dst_port_mask:1
uint8_t src_port_mask:1
uint8_t protocol_mask:1

Detailed Description

A structure used to define a 5tuple filter.

Field Documentation

uint32_t dst_ip

destination IP address in big endian.

uint8_t dst_ip_mask

if mask is 1b, do not compare dst ip.

uint16_t dst_port

destination port in big endian.

uint8_t dst_port_mask

if mask is 1b, do not compare dst port.

uint16_t priority

seven evels (001b-111b), 111b is highest, used when more than one filter matches.

uint8_t protocol

l4 protocol.

uint8_t protocol_mask

if mask is 1b, do not compare protocol.

uint32_t src_ip

source IP address in big endian.

uint8_t src_ip_mask

if mask is 1b, do not compare src ip.

uint16_t src_port

source Port big endian.

uint8_t src_port_mask

if mask is 1b, do not compare src port.

uint8_t tcp_flags

tcp flags.


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