#include <qaGobiApiQos.h>
|
BYTE | ip_version |
|
ULONGLONG | ipv4_valid_params |
|
ULONG | ipv4_addr_1 |
|
ULONG | ipv4_subnet_mask_1 |
|
ULONG | ipv4_addr_2 |
|
ULONG | ipv4_subnet_mask_2 |
|
BYTE | ipv4_val |
|
BYTE | ipv4_mask |
|
ULONGLONG | ipv6_valid_params |
|
BYTE | ipv6_address_1 [16] |
|
BYTE | ipv6_prefix_len_1 |
|
BYTE | ipv6_address_2 [16] |
|
BYTE | ipv6_prefix_len_2 |
|
BYTE | ipv6_val |
|
BYTE | ipv6_mask |
|
ULONG | ipv6_flow_label |
|
ULONG | ipv6_xport_protocol |
|
ULONGLONG | port_valid_params |
|
WORD | src_port |
|
WORD | src_range |
|
WORD | des_port |
|
WORD | des_range |
|
ULONGLONG | valid_params_4 |
|
WORD | port_3 |
|
WORD | range_3 |
|
WORD | port_4 |
|
WORD | range_4 |
|
ULONGLONG | icmp_valid_params |
|
BYTE | icmp_type |
|
BYTE | icmp_code |
|
ULONGLONG | ipsec_valid_params |
|
ULONG | ipsec_spi |
|
ULONGLONG | ipsec_valid_params_2 |
|
ULONG | ipsec_spi_2 |
|
WORD | ipsec_filter_id |
|
WORD | filter_precedence |
|
This structure contains the QoS Filter Specs
- Parameters
-
ip_version |
- Depending on the IP version set, either the IPv4 or the IPv6 information is valid.
- Values:
- QOS_IP_FAMILY_IPV4 (0x04) - IPv4 family.
- QOS_IP_FAMILY_IPV6 (0x06) - IPv6 family.
|
ipv4_valid_params |
- The bits set in this mask denote which parameters contain valid values.
- Values:
- QMI_QOS_IPV4_FILTER_MASK_NONE (0x0000000000000000) - No parameters
- QMI_QOS_IPV4_FILTER_MASK_SRC_ADDR (0x0000000000000001) - IPv4 source address
- QMI_QOS_IPV4_FILTER_MASK_DEST_ADDR (0x0000000000000002) - IPv4 destination address
- QMI_QOS_IPV4_FILTER_MASK_TOS (0x0000000000000004) - IPv4 type of service
|
ipv4_addr_1 |
|
ipv4_subnet_mask_1 |
|
ipv4_addr_2 |
|
ipv4_subnet_mask_1 |
|
ipv4_val |
|
ipv4_mask |
|
ipv6_valid_params |
- The bits set in this mask denote which parameters contain valid values.
- Values:
- QMI_QOS_IPV6_FILTER_MASK_NONE (0x0000000000000000) - No parameters
- QMI_QOS_IPV6_FILTER_MASK_SRC_ADDR (0x0000000000000001) - IPv6 source address
- QMI_QOS_IPV6_FILTER_MASK_DEST_ADDR (0x0000000000000002) - IPv6 destination address
- QMI_QOS_IPV6_FILTER_MASK_TRAFFIC_CLASS (0x0000000000000004) - IPv6 traffic class
- QMI_QOS_IPV6_FILTER_MASK_FLOW_LABEL (0x0000000000000008) - IPv6 flow label
|
ipv6_address_1 |
|
ipv6_prefix_len_1 |
- IPv6 address prefix length.
|
ipv6_address_2 |
|
ipv6_prefix_len_2 |
- IPv6 address prefix length.
|
ipv6_val |
|
ipv6_mask |
|
ipv6_flow_label |
|
ipv6_xport_protocol |
- Depending on the value in xport_protocol, only one field of icmp_info, tcp_info, udp_info, esp_info, or ah_info is valid. QOS_PROTO_NONE implies that no transport level protocol parameters are valid.
- Values:
- QOS_PROTO_NONE (0x00) - No transport protocol
- QOS_PROTO_ICMP (0x01) - Internet Control Messaging Protocol
- QOS_PROTO_TCP (0x06) - Transmission Control Protocol
- QOS_PROTO_UDP (0x11) - User Datagram Protocol
- QOS_PROTO_ESP (0x32) - Encapsulating Security Payload Protocol
- QOS_PROTO_AH (0x33) - Authentication Header Protocol
- QOS_PROTO_ICMPV6 (0x3A) - Internet Control Messaging Protocol for IPV6
|
valid_params |
- The bits set in this mask denote which parameters contain valid values.
- Values:
- QMI_QOS_PORT_INFO_FILTER_MASK_NONE (0x0000000000000000) - No parameters
- QMI_QOS_PORT_INFO_FILTER_MASK_SRC_PORT (0x0000000000000001) - Source port
- QMI_QOS_PORT_INFO_FILTER_MASK_DEST_PORT (0x0000000000000002) - Destination port
|
port |
|
range |
|
port |
|
range |
|
valid_params |
- The bits set in this mask denote which parameters contain valid values.
- Values:
- QMI_QOS_PORT_INFO_FILTER_MASK_NONE (0x0000000000000000) - No parameters
- QMI_QOS_PORT_INFO_FILTER_MASK_SRC_PORT (0x0000000000000001) – Source port
- QMI_QOS_PORT_INFO_FILTER_MASK_DEST_PORT (0x0000000000000002) – Destination port
|
port |
|
range |
|
port |
|
range |
|
valid_params |
- The bits set in this mask denote which parameters contain valid values.
- Values:
- QMI_QOS_ICMP_FILTER_MASK_NONE (0x0000000000000000) - No parameters
- QMI_QOS_ICMP_FILTER_MASK_MSG_TYPE (0x0000000000000001) - Message type
- QMI_QOS_ICMP_FILTER_MASK_MSG_CODE (0x0000000000000002) - Message code
|
type |
|
code |
|
valid_params |
- The bits set in this mask denote which parameters contain valid values.
- Values:
- QMI_QOS_IPSEC_FILTER_MASK_NONE (0x0000000000000000) - No parameters
- QMI_QOS_IPSEC_FILTER_MASK_SPI (0x0000000000000001) - Security parameter index
|
spi |
- Security parameter index for IPSec.
|
valid_params |
- The bits set in this mask denote which parameters contain valid values.
- Values:
- QMI_QOS_IPSEC_FILTER_MASK_NONE (0x0000000000000000) - No parameters
- QMI_QOS_IPSEC_FILTER_MASK_SPI (0x0000000000000001) - Security parameter index
|
spi |
- Security parameter index for IPSec.
|
filter_id |
- Unique identifier for each filter.
|
filter_precedence |
- Specifies the order in which filters are applied. A lower numerical value has a higher precedence.
|
The documentation for this struct was generated from the following file: