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.
Public Member Functions | |
---|---|
TPacketFilterV2() |
Inherited Functions | |
---|---|
TPacketBase::ExtensionId()const | |
TPacketBase::TPacketBase() |
Inherited Attributes | |
---|---|
TPacketBase::iExtensionId |
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.
TInt | iDestPortMax |
Maximum destination port number of incoming packets. Value range 0 - 65535.
TInt | iDestPortMin |
Lowest destination port number of incoming packets. Value range 0 - 65535.
TInt | iEvaluationPrecedenceIndex |
Evaluation Precedence Index. Value range: 255 (lowest) - 0 (highest).
TUint32 | iFlowLabel |
Flow label (IPv6 only) of incoming packets. 3 octets with 20-bit field containing the flow label.
TInt | iProtocolNumberOrNextHeader |
Protocol number (IPv4) or Next Header (IPv6) field of incoming packets. Value range 0 - 255.
TInt | iSrcPortMax |
Maximum source port number of incoming packets. Value range 0 - 65535.
TInt | iSrcPortMin |
Minimum source port number of incoming packets. Value range 0 - 65535.
TUint16 | iTOSorTrafficClass |
Type of Service (IPv4) or Traffic Class (IPv6). 1 octet TOS/Traffic class + 1 octet TOS/Traffic class Mask.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.