DPDK  19.08.0-rc0
Data Fields
rte_table_lpm_ipv6_key Struct Reference

#include <rte_table_lpm_ipv6.h>

Data Fields

uint8_t ip [RTE_LPM_IPV6_ADDR_SIZE]
 
uint8_t depth
 

Detailed Description

LPM table rule (i.e. route), specified as IP prefix. While the key used by the lookup operation is the destination IP address (read from the input packet meta-data), the entry add and entry delete operations work with LPM rules, with each rule covering for a multitude of lookup keys (destination IP addresses) that share the same data (next hop).

Examples
examples/ip_pipeline/thread.c.

Definition at line 75 of file rte_table_lpm_ipv6.h.

Field Documentation

◆ ip

uint8_t ip[RTE_LPM_IPV6_ADDR_SIZE]

IP address

Definition at line 77 of file rte_table_lpm_ipv6.h.

◆ depth

uint8_t depth

IP address depth. The most significant "depth" bits of the IP address specify the network part of the IP address, while the rest of the bits specify the host part of the address and are ignored for the purpose of route specification.

Definition at line 83 of file rte_table_lpm_ipv6.h.


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