RPacketContext::TPacketFilterV2 Class Reference

class RPacketContext::TPacketFilterV2 : public TPacketBase

Packet filter package since version 2 of the API.

Contains member data compatible with parameters required for configuring a packet filter on a Rel99/R4 packet network.

Inherits from the TPacketBase class to make it future proof (extensible).

Supported from v7.0S.

Inherits from

Constructor & Destructor Documentation

TPacketFilterV2()

IMPORT_C TPacketFilterV2 ( )

Standard constructor since version 2 of the API.

All the member data are initialized to zero. The client should set the required parameters to valid values.

Some of the parameters are optional while others are mutually exclusive. Only the Packet filter identifier (iId) and the precedence index (iEvaluationPrecedenceIndex) are mandatory.

Member Data Documentation

TInt iDestPortMax

TInt iDestPortMax

Maximum destination port number of incoming packets. Value range 0 - 65535.

TInt iDestPortMin

TInt iDestPortMin

Lowest destination port number of incoming packets. Value range 0 - 65535.

TInt iEvaluationPrecedenceIndex

TInt iEvaluationPrecedenceIndex

Evaluation Precedence Index. Value range: 255 (lowest) - 0 (highest).

TUint32 iFlowLabel

TUint32 iFlowLabel

Flow label (IPv6 only) of incoming packets. 3 octets with 20-bit field containing the flow label.

TUint32 iIPSecSPI

TUint32 iIPSecSPI

Security Parameter Index, 32-bit field.

TInt iId

TInt iId

Packet filter identifier. Value range: 1 - 8.

TInt iProtocolNumberOrNextHeader

TInt iProtocolNumberOrNextHeader

Protocol number (IPv4) or Next Header (IPv6) field of incoming packets. Value range 0 - 255.

TIPAddress iSrcAddr

TIPAddress iSrcAddr

Domain Source address.

TIPAddress iSrcAddrSubnetMask

TIPAddress iSrcAddrSubnetMask

Domain Subnet mask.

TInt iSrcPortMax

TInt iSrcPortMax

Maximum source port number of incoming packets. Value range 0 - 65535.

TInt iSrcPortMin

TInt iSrcPortMin

Minimum source port number of incoming packets. Value range 0 - 65535.

TUint16 iTOSorTrafficClass

TUint16 iTOSorTrafficClass

Type of Service (IPv4) or Traffic Class (IPv6). 1 octet TOS/Traffic class + 1 octet TOS/Traffic class Mask.