API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEQOSFILTER_IPV4TOS

Brew Release
Brew MP 1.0.2
See Also
None
Description
Specifies an IPv4 Type of Service (TOS) filter.
Members
  • val: specifies the desired value of TOS field's bits.
  • mask: specifies which bits in TOS field should be considered for filtering,
             in essence the TOS field is first OR-ed with "mask" and then compared
             to "val". 
    i.e. a mask of 11111111 refers to packets with the EXACT TOS field value
Definition
  •    typedef struct
       {
          uint8 val;
          uint8 mask;
    
       } AEEQOSFILTER_IPv4TOS;
    
Comments
If IPv4 Type of Service is specified, both val and mask must be specified.