swiQosFilter Struct Reference

Data Fields

BYTE index
BYTE version
IPv4AddrpIPv4SrcAddr
IPv4AddrpIPv4DstAddr
BYTEpNextHdrProto
TospTos
IPv6AddrpIPv6SrcAddr
IPv6AddrpIPv6DstAddr
IPv6TrafClspIPv6TrafCls
ULONGpIPv6Label
PortpTCPSrcPort
PortpTCPDstPort
PortpUDPSrcPort
PortpUDPDstPort
ULONGpEspSpi
BYTEpPrecedence
BYTEpId
PortpTranSrcPort
PortpTranDstPort

Detailed Description

This structure contains the QoS Filter Request

Parameters:
index IP filter index Integer that uniquely identifies each filter instance This TLV must be present in the request
version IP 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
pIPv4SrcAddr IPv4 filter soruce address See IPv4Addr for more information
pIPv4DstAddr IPv4 filter destination address See IPv4Addr for more information
pNextHdrProto IP 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:

  • 0x06 = TCP
  • 0x11 = UDP
pTos IPv4 filter type of service See Tos for more information
pIPv6SrcAddr IPv6 filter soruce address See IPv6Addr for more information
pIPv6DstAddr IPv6 filter destination address See IPv6Addr for more information
pIPv6TrafCls IPv6 filter traffic class See IPv6TrafCls for more information
pIPv6Label IPv6 flow label Packet matches the IPv6 flow label filter if: ( *pIPv6Label == flow label in the IPv6 header)
pTCPSrcPort TCP filter source port filter See Port for more information
pTCPDstPort TCP filter destination port filter See Port for more information
pUDPSrcPort UDP filter source port filter See Port for more information
pUDPDstPort UDP filter destination port filter See Port for more information
pEspSpi ESP filter security policy index Security policy index to uniquely identify each IP flow for filtering encrypted packets for encapsulating security payload
pPrecedence Filter 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
pId Filter 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
pTranSrcPort Transport protocolfilter source port See Port for more information
pUDPDstPort Transport protocol filter destination port See Port for more information

Field Documentation


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