Share via


RILTRAFFICFLOWTEMPLATE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure represents a traffic flow template.

Syntax

typedef struct {
  DWORD cbSize;
  DWORD dwParams;
  DWORD dwContextID;
  DWORD dwPacketFilterID;
  DWORD dwEvalPrecedenceIndex;
  char szAddress[MAXLENGTH_PDPADDRESS];
  char szSubnetMask[MAXLENGTH_PDPADDRESS];
  DWORD dwNextHeader;
  RILRANGE rrDstPortRange;
  RILRANGE rrSrcPortRange;
  DWORD dwIpsecSpi;
  DWORD dwTrafficClass;
  DWORD dwTrafficClassMask;
  DWORD dwFlowLabel;
} RILTRAFFICFLOWTEMPLATE;

Members

  • cbSize
    Structure size in bytes.
  • dwParams
    Indicates valid parameters. The following table shows the valid values for this member with a description of each value.

    Value Description

    RIL_PARAM_TFT_CONTEXTID

    The dwContextID member of the structure is valid.

    RIL_PARAM_TFT_FILTERID

    The dwPacketFilterID member of the structure is valid.

    RIL_PARAM_TFT_EVALPREINDEX

    The dwEvalPrecedenceIndex member of the structure is valid.

    RIL_PARAM_TFT_ADDRESS

    The szAddress[MAXLENGTH_PDPADDRESS] member of the structure is valid.

    RIL_PARAM_TFT_SUBNETMASK

    The szSubnetMask[MAXLENGTH_PDPADDRESS] member of the structure is valid.

    RIL_PARAM_TFT_NEXTHEADER

    The dwNextHeader member of the structure is valid.

    RIL_PARAM_TFT_DSTPORTRANGE

    The rrDstPortRange member of the structure is valid.

    RIL_PARAM_TFT_SRCPORTRANGE

    The rrSrcPortRange member of the structure is valid.

    RIL_PARAM_TFT_IPSECSPI

    The dwIPsecSPI member of the structure is valid.

    RIL_PARAM_TFT_TRAFFICCLASS

    The dwTrafficClass member of the structure is valid.

    RIL_PARAM_TFT_TRAFFICCLASSMASK

    The dwTrafficClassMask member of the structure is valid.

    RIL_PARAM_TFT_FLOWLABEL

    The dwFlowLabel member of the structure is valid.

  • dwContextID
    PDP context identifier. The minimum value is 1.
  • dwPacketFilterID
    Packet filter identifier. Valid values range from 1 to 8.
  • dwEvalPrecedenceIndex
    Evaluation precedence index. Valid values range from 0 to 255.
  • szAddress[MAXLENGTH_PDPADDRESS]
    The source address (IPv4 or IPv6). The format of the source address should consist of dot-separated digits (0-255) in the form a1.a2.a3.a4 for IPv4 and a1.a2.a3.a4.a5.a6.a7.a8.a9.a10.a11.a12.a13.a14.a15.a16 for IPv6, where aX is a decimal digit which ranges from 0 to 255 (8 bits). If applicable, the szSubnetMask should also exist.
  • szSubnetMask[MAXLENGTH_PDPADDRESS]
    The subnet mask (IPv4 or IPv6). The format of the source address should consist of dot-separated digits (0-255) in the form a1.a2.a3.a4 for IPv4 and a1.a2.a3.a4.a5.a6.a7.a8.a9.a10.a11.a12.a13.a14.a15.a16 for IPv6, where aX is a decimal digit which ranges from 0 to 255 (8 bits). If applicable, the szAddress should also exist.
  • dwNextHeader
    IPv6: next header; IPv4: protocol number. Valid values range from 0 to 255.
  • rrDstPortRange
    Destination port range.
  • rrSrcPortRange
    Source port range.
  • dwIpsecSpi
    IPSEC security parameter index (SPI).
  • dwTrafficClass
    IPv6: traffic class; IPv4: type of service. Valid values range from 0 to 255. If applicable, dwTrafficClassMask should also exist.
  • dwTrafficClassMask
    IPv6: traffic class mask IPv4: type of service mask. Valid values range from 0 to 255. If applicable, dwTrafficClass should also exist.
  • dwFlowLabel
    Flow label which is valid only for IPv6 addresses. Valid values range from 0x000000 to 0xFFFFFF.

Remarks

None.

Requirements

Header ril.h
Library Ril.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

RIL Structures