libpack  SLQS03.03.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
IPv6TrafCls Struct Reference

Data Fields

BYTE val
 
BYTE 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

Field Documentation

BYTE IPv6TrafCls::mask
BYTE IPv6TrafCls::val

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved