Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
unpack_qos_IPv6TrafCls_t Struct Reference

#include <qos.h>

Data Fields

uint8_t val
 
uint8_t mask
 

Detailed Description

This structure contains the IPv6 filter traffic class

Parameters
valThe traffic class value
maskThe packet matches the traffic class filter if: (IPv6_filter_traffic_class_val and IPv6_filter_traffic_class_mask) == (Traffic class value in the IP packet & IPv6_filter_traffic_class_mask) Example:
  • IPv6_filter_tc_val = 00101000
  • IPv6_filter_tc_mask = 11111100 Filter will compare only the first 6 bits in IPv6_filter_traffic_class with the first 6 bits in the traffic class field of the IP packet; first 6 bits in the traffic class field of the IP packet must be 001010 to match filter; last 2 bits can be anything, since they are ignored by filtering

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