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

Data Fields

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

BYTE Tos::mask
BYTE Tos::val

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