LinuxQMISDK  SLQS03.03.16
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
swiQosFilter Struct Reference

Data Fields

BYTE index
 
BYTE version
 
IPv4AddrpIPv4SrcAddr
 
IPv4AddrpIPv4DstAddr
 
BYTEpNxtHdrProto
 
TospTos
 
IPv6AddrpIPv6SrcAddr
 
IPv6AddrpIPv6DstAddr
 
IPv6TrafClspIPv6TrafCls
 
ULONGpIPv6Label
 
PortpTCPSrcPort
 
PortpTCPDstPort
 
PortpUDPSrcPort
 
PortpUDPDstPort
 
ULONGpEspSpi
 
WORDpPrecedence
 
WORDpId
 
PortpTranSrcPort
 
PortpTranDstPort
 

Detailed Description

This structure contains the QoS Filter Request

Parameters
indexIP filter index Integer that uniquely identifies each filter instance This TLV must be present in the request
versionIP filter version Identifies whether the filter is associated with IPv4 or IPv6; value specified also implies that only TLVs defined for that IP version, i.e., TLVs with IPv4 or IPv6 in the name, can be specified
  • 0x04 – IPv4
  • 0x06 – Ipv6
pIPv4SrcAddrIPv4 filter soruce address See IPv4Addr for more information
  • Implemented only for unsolicited indication
pIPv4DstAddrIPv4 filter destination address See IPv4Addr for more information
  • Implemented only for unsolicited indication
pNxtHdrProtoIP filter next header protocol This TLV must be present if any non-IP filter TLV(s) are provided If this field is specified, only IP packets belonging to specified higher layer protocol are considered when filtering The following protocols may be specified:
  • 0x01 = ICMP
  • 0x06 = TCP
  • 0x11 = UDP
  • 0x32 = ESP Note: The next header protocol field will be set to 0xFD (TCP & UDP) if a TFT is received specifying a source or destination port number, but IP next header type is not specified.
pTosIPv4 filter type of service See Tos for more information
pIPv6SrcAddrIPv6 filter soruce address See IPv6Addr for more information
  • Implemented only for unsolicited indication
pIPv6DstAddrIPv6 filter destination address See IPv6Addr for more information
  • Implemented only for unsolicited indication
pIPv6TrafClsIPv6 filter traffic class See IPv6TrafCls for more information
pIPv6LabelIPv6 flow label Packet matches the IPv6 flow label filter if: ( *pIPv6Label == flow label in the IPv6 header)
  • Implemented only for unsolicited indication
pTCPSrcPortTCP filter source port filter See Port for more information
  • Implemented only for unsolicited indication
pTCPDstPortTCP filter destination port filter See Port for more information
  • Implemented only for unsolicited indication
pUDPSrcPortUDP filter source port filter See Port for more information
  • Implemented only for unsolicited indication
pUDPDstPortUDP filter destination port filter See Port for more information
  • Implemented only for unsolicited indication
pEspSpiESP filter security policy index Security policy index to uniquely identify each IP flow for filtering encrypted packets for encapsulating security payload
  • Implemented only for unsolicited indication
pPrecedenceFilter Precedence Specifies the order in which filters are applied; lower numerical value has higher precedence Note: This TLV only applies to network-initiated QoS; QoS requests containing this TLV from control points will be ignored
pIdFilter ID Unique identifier for each filter;filter ID is assigned by the modem Note: This TLV only applies to network-initiated QoS; QoS requests containing this TLV from control points will be ignored
pTranSrcPortTransport protocolfilter source port See Port for more information
  • Implemented only for unsolicited indication
pUDPDstPortTransport protocol filter destination port See Port for more information
  • Implemented only for unsolicited indication

Field Documentation

BYTE swiQosFilter::index
ULONG* swiQosFilter::pEspSpi
WORD* swiQosFilter::pId
IPv4Addr* swiQosFilter::pIPv4DstAddr
IPv4Addr* swiQosFilter::pIPv4SrcAddr
IPv6Addr* swiQosFilter::pIPv6DstAddr
ULONG* swiQosFilter::pIPv6Label
IPv6Addr* swiQosFilter::pIPv6SrcAddr
IPv6TrafCls* swiQosFilter::pIPv6TrafCls
BYTE* swiQosFilter::pNxtHdrProto
WORD* swiQosFilter::pPrecedence
Port* swiQosFilter::pTCPDstPort
Port* swiQosFilter::pTCPSrcPort
Tos* swiQosFilter::pTos
Port* swiQosFilter::pTranDstPort
Port* swiQosFilter::pTranSrcPort
Port* swiQosFilter::pUDPDstPort
Port* swiQosFilter::pUDPSrcPort
BYTE swiQosFilter::version

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