|
Linux SDK (lite-qmi)
MBPL_SDK_R25_ENG3
|
#include <qos.h>
Data Fields | |
| uint8_t | index |
| uint8_t | version |
| uint8_t | is_IPv4SrcAddr_Available |
| unpack_qos_IPv4Addr_t | IPv4SrcAddr |
| uint8_t | is_IPv4DstAddr_Available |
| unpack_qos_IPv4Addr_t | IPv4DstAddr |
| uint8_t | is_NxtHdrProto_Available |
| uint8_t | NxtHdrProto |
| uint8_t | is_IPv4Tos_Available |
| unpack_qos_Tos_t | IPv4Tos |
| uint8_t | is_IPv6SrcAddr_Available |
| unpack_qos_IPv6Addr_t | IPv6SrcAddr |
| uint8_t | is_IPv6DstAddr_Available |
| unpack_qos_IPv6Addr_t | IPv6DstAddr |
| uint8_t | is_IPv6TrafCls_Available |
| unpack_qos_IPv6TrafCls_t | IPv6TrafCls |
| uint8_t | is_IPv6Label_Available |
| uint32_t | IPv6Label |
| uint8_t | is_TCPSrcPort_Available |
| unpack_qos_Port_t | TCPSrcPort |
| uint8_t | is_TCPDstPort_Available |
| unpack_qos_Port_t | TCPDstPort |
| uint8_t | is_UDPSrcPort_Available |
| unpack_qos_Port_t | UDPSrcPort |
| uint8_t | is_UDPDstPort_Available |
| unpack_qos_Port_t | UDPDstPort |
| uint8_t | is_EspSpi_Available |
| uint32_t | EspSpi |
| uint8_t | is_Precedence_Available |
| uint16_t | Precedence |
| uint8_t | is_Id_Available |
| uint16_t | Id |
| uint8_t | is_TranSrcPort_Available |
| unpack_qos_Port_t | TranSrcPort |
| uint8_t | is_TranDstPort_Available |
| unpack_qos_Port_t | TranDstPort |
This structure contains the QoS Filter Request.
Please check is_<Param_Name>_Available field for presence of optional parameters
| index | Mandatory parameter IP filter index Integer that uniquely identifies each filter instance This TLV must be present in the request |
| version | Mandatory parameter 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
|
| IPv4SrcAddr | IPv4 filter soruce address See unpack_qos_IPv4Addr_t for more information
|
| IPv4DstAddr | IPv4 filter destination address See unpack_qos_IPv4Addr_t for more information
|
| NxtHdrProto | 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:
|
| IPv4Tos | IPv4 filter type of service See unpack_qos_Tos_t for more information |
| IPv6SrcAddr | IPv6 filter soruce address See unpack_qos_IPv6Addr_t for more information
|
| IPv6DstAddr | IPv6 filter destination address See unpack_qos_IPv6Addr_t for more information
|
| IPv6TrafCls | IPv6 filter traffic class See unpack_qos_IPv6TrafCls_t for more information |
| IPv6Label | IPv6 flow label Packet matches the IPv6 flow label filter if: ( *pIPv6Label == flow label in the IPv6 header)
|
| TCPSrcPort | TCP filter source port filter See unpack_qos_Port_t for more information
|
| TCPDstPort | TCP filter destination port filter See unpack_qos_Port_t for more information
|
| UDPSrcPort | UDP filter source port filter See unpack_qos_Port_t for more information
|
| UDPDstPort | UDP filter destination port filter See unpack_qos_Port_t for more information
|
| EspSpi | ESP filter security policy index Security policy index to uniquely identify each IP flow for filtering encrypted packets for encapsulating security payload
|
| Precedence | 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 |
| Id | 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 |
| TranSrcPort | Transport protocolfilter source port See unpack_qos_Port_t for more information
|
| UDPDstPort | Transport protocol filter destination port See unpack_qos_Port_t for more information
|