LinuxQMISDK-Lite  SLQS04.00.23
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
unpack_qos_Tos_t Struct Reference

Data Fields

uint8_t val
 
uint8_t mask
 

Detailed Description

This structure contains the IPv4 filter type of service

Parameters
valType of service value
maskPacket matches the TOS filter if: (IPv4_filter_tos_val and IPv4_filter_tos_mask) == (TOS value in the IP packet & IPv4_filter_tos_mask) Example:
  • IPv4_filter_tos_val = 00101000
  • IPv4_filter_tos_mask = 11111100 The filter will compare only the first 6 bits in the IPv4_filter_type_of_service with the first 6 bits in the TOS field of the IP packet. The first 6 bits in the TOS field of the IP packet must be 001010 to match the filter. The last 2 bits can be anything since they are ignored by filtering.

Field Documentation

uint8_t unpack_qos_Tos_t::mask
uint8_t unpack_qos_Tos_t::val

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