LinuxQMISDK: IPv6TrafCls Struct Reference

LinuxQMISDK SLQS03.03.07

- Main Page
- Modules
- References
- Data Structures

- Data Structures
- Data Fields

Data Fields
IPv6TrafCls Struct Reference

## Data Fields
BYTE | val
BYTE | mask

## Detailed Description

This structure contains the IPv6 filter traffic class

Parameters

  val | The traffic class value
  mask | The 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

## Field Documentation

BYTE IPv6TrafCls::mask

BYTE IPv6TrafCls::val