IPv6TrafCls Struct Reference

Data Fields

ULONG val
ULONG 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_tos_val = 00101000
  • IPv6_filter_tos_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


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