API Reference Manual  1.45.0
odp_pmr_create_opt_t Struct Reference

Packet Matching Rule creation options. More...

#include <classification.h>

Collaboration diagram for odp_pmr_create_opt_t:
[legend]

Data Fields

odp_pmr_param_tterms
 PMR terms. More...
 
int num_terms
 Number of terms in the match rule.
 
uint64_t mark
 Classification mark value. More...
 

Detailed Description

Packet Matching Rule creation options.

Definition at line 326 of file api/spec/classification.h.

Field Documentation

◆ terms

odp_pmr_param_t* odp_pmr_create_opt_t::terms

PMR terms.

Array of odp_pmr_param_t entries, one entry per term desired. Use odp_cls_pmr_param_init() to initialize parameters into their default values.

Definition at line 332 of file api/spec/classification.h.

◆ mark

uint64_t odp_pmr_create_opt_t::mark

Classification mark value.

Value to be set in the CLS mark of a packet when the packet matches this Packet Matching Rule. The default value is zero. The maximum value is indicated in odp_cls_capability_t::max_mark capability.

Definition at line 343 of file api/spec/classification.h.


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