|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE task |
|
11 PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"> |
|
12 <task id="GUID-5367CF33-86E3-5FA8-8416-403C83DE53BA" xml:lang="en"><title>Traffic |
|
13 Flow Template Tutorial</title><shortdesc>This tutorial describes how to use the traffic flow template functions |
|
14 in a packet service sub-session. </shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody> |
|
15 <steps id="GUID-F8E5D46E-1B95-5516-A588-2B1186B496D7"> |
|
16 <step id="GUID-A900982A-F04E-588F-805B-F27C51BD9074"><cmd/> |
|
17 <info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-6F189530-7561-389B-AEE0-5BD612658648"><apiname>RPacketContext::CreateNewTFT()</apiname></xref> to create a new |
|
18 traffic flow template for a context. </info> |
|
19 </step> |
|
20 <step id="GUID-CF705FDE-9EC8-5952-AC24-43E13D51B982"><cmd/> |
|
21 <info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-495CEF32-4D10-394F-BF80-9EA597A70544"><apiname>RPacketContext::EnumeratePacketFilters()</apiname></xref> to get |
|
22 the number of packet filters defined for the context. </info> |
|
23 </step> |
|
24 <step id="GUID-15158D4F-A291-5232-B8A1-FBA67D2DDE92"><cmd/> |
|
25 <info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-279FD250-7896-3D41-A154-19E87E87741D"><apiname>RPacketContext::GetPacketFilterInfo()</apiname></xref> to retrieve |
|
26 the information of a packet filter. </info> |
|
27 </step> |
|
28 <step id="GUID-E3621237-3162-54C3-8A5C-1514544DD096"><cmd/> |
|
29 <info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-37C1CCF0-EC7C-31AC-B12F-EA89800684A4"><apiname>RPacketContext::AddPacketFilter()</apiname></xref> to add or replace |
|
30 a packet filter used in the context. </info> |
|
31 </step> |
|
32 <step id="GUID-BC86A8EA-7E34-5355-AAD2-DB973ACD3E20"><cmd/> |
|
33 <info>Use<xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-1AB9CE8C-BE16-3581-AB8C-A2A25834D369"><apiname> RPacketContext::RemovePacketFilter()</apiname></xref> to remove |
|
34 a packet filter from the context. </info> |
|
35 </step> |
|
36 <step id="GUID-910678D6-DC4C-558E-B471-4EC4CBB9B56C"><cmd/> |
|
37 <info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-350B0158-5D38-3E54-92CC-D1BA7CA0E3EF"><apiname>RPacketContext::DeleteTFT()</apiname></xref> to delete a traffic |
|
38 flow template. </info> |
|
39 </step> |
|
40 <step id="GUID-3D95A42A-78C7-539D-AC60-9C37848C7C9A"><cmd/> |
|
41 <info>Use <xref href="GUID-D8BBA972-82CB-3561-8913-4659103C263C.dita#GUID-D8BBA972-82CB-3561-8913-4659103C263C/GUID-3BF91830-2F1C-3635-B362-AECB5C1D8619"><apiname>RTelSubSessionBase::CancelAsyncRequest()</apiname></xref> to cancel |
|
42 any of the commands. </info> |
|
43 </step> |
|
44 </steps> |
|
45 </taskbody></task> |