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

Developer

API Reference

AEEQOSFILTER_IPV6TRAFFICCLASS

Brew Release
Brew MP 1.0.2
See Also
None
Description
Specifies an IPv6 Traffic Class filter.
Members
  • val: specifies the desired value of Traffic Class's field.
  • mask: specifies which bits in the Traffic Class field should be considered for filtering.
             Should be specified in host byte order.
             In essence, the result of the Traffic Class field And-ed with "mask" is compared 
             to the result of "val" And-ed with "mask". 
    i.e., a mask of 11111111 refers to packets with a Traffic Class field value which is equal to the "val" value.
Definition
  •    typedef struct
       {
          uint8  val;
          uint8  mask;
    
       } AEEQOSFILTER_IPv6TrafficClass;
    
    
Comments
If IPv6 Traffic Class is specified, both val and mask must be specified.