24
|
1 |
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
#include <e32svr.h>
|
|
17 |
#include "ET_SSTD.H"
|
|
18 |
#include <e32cmn.h>
|
|
19 |
#include "et_record.h"
|
|
20 |
#include <u32hal.h>
|
|
21 |
|
|
22 |
#ifdef __EABI__
|
|
23 |
extern const TInt32 KPriorityClientSid;
|
|
24 |
extern const TInt32 KLocationServicesNetworkGatewaySid;
|
|
25 |
extern const TInt32 KSatEngineSid;
|
|
26 |
#endif
|
|
27 |
|
|
28 |
//
|
|
29 |
// CDestroyDummySubSession class definitions
|
|
30 |
//
|
|
31 |
|
|
32 |
CDestroyDummySubSession* CDestroyDummySubSession::NewL(CTelServer* aTelServer,CTelObject* aTelObject)
|
|
33 |
//
|
|
34 |
// Create an async one shot
|
|
35 |
//
|
|
36 |
{
|
|
37 |
return new(ELeave)CDestroyDummySubSession(aTelServer,aTelObject);
|
|
38 |
}
|
|
39 |
|
|
40 |
CDestroyDummySubSession::CDestroyDummySubSession(CTelServer* aTelServer,CTelObject* aTelObject)
|
|
41 |
//
|
|
42 |
// C'tor
|
|
43 |
//
|
|
44 |
:CAsyncOneShot(CActive::EPriorityLow),
|
|
45 |
iTelObject(aTelObject), iTelServer(aTelServer)
|
|
46 |
{
|
|
47 |
__DECLARE_NAME(_S("CDestroyDummySubSession"));
|
|
48 |
}
|
|
49 |
|
|
50 |
CDestroyDummySubSession::~CDestroyDummySubSession()
|
|
51 |
{
|
|
52 |
Cancel();
|
|
53 |
}
|
|
54 |
|
|
55 |
void CDestroyDummySubSession::RunL()
|
|
56 |
//
|
|
57 |
// Destroy the tel object and the the server
|
|
58 |
//
|
|
59 |
{
|
|
60 |
LOGTEXT("In RunL and about to Destroy the Tel Objects");
|
|
61 |
iOpen=EFalse;
|
|
62 |
iTelObject->TelObjectClose();
|
|
63 |
}
|
|
64 |
|
|
65 |
//
|
|
66 |
// CTelChannelHandler class definitions
|
|
67 |
//
|
|
68 |
|
|
69 |
CTelChannelHandler::CTelChannelHandler(CTelServer* aServer):
|
|
70 |
CCFModuleChannelHandler(CActive::EPriorityStandard)
|
|
71 |
/** Constructor
|
|
72 |
@internalComponent */
|
|
73 |
{
|
|
74 |
iServer=aServer;
|
|
75 |
}
|
|
76 |
|
|
77 |
CTelChannelHandler* CTelChannelHandler::NewL(RCFChannel::TMsgQueues aRxQueues,
|
|
78 |
RCFChannel::TMsgQueues aTxQueues, CTelServer* aServer)
|
|
79 |
/** Create channel handler instance and construct it. Standard pattern
|
|
80 |
@internalComponent */
|
|
81 |
{
|
|
82 |
CTelChannelHandler* pHandler = new (ELeave) CTelChannelHandler(aServer);
|
|
83 |
CleanupStack::PushL(pHandler);
|
|
84 |
pHandler->ConstructL(aRxQueues, aTxQueues);
|
|
85 |
CleanupStack::Pop(pHandler);
|
|
86 |
return pHandler;
|
|
87 |
}
|
|
88 |
|
|
89 |
void CTelChannelHandler::CFMessageShutdown(const CommsFW::TCFShutdownMsg& aMessage)
|
|
90 |
{
|
|
91 |
iServer->CFMessageShutdown(aMessage);
|
|
92 |
}
|
|
93 |
|
|
94 |
void CTelServer::CFMessageShutdown(const CommsFW::TCFShutdownMsg& aMessage)
|
|
95 |
/**
|
|
96 |
@internalComponent */
|
|
97 |
{
|
|
98 |
if((aMessage.Type()==EOptional) || (aMessage.Type()==EGraceful))
|
|
99 |
{
|
|
100 |
LOGTEXT("CTelServer received Shutdown. Scheduling shutdown when there's no sessions.");
|
|
101 |
iShutGracefully = ETrue;
|
|
102 |
LOGTEXT2("Session Count is %d", iSessionCount);
|
|
103 |
if(iSessionCount==0)
|
|
104 |
{
|
|
105 |
LOGTEXT("Calling AsynOneShot::Call()");
|
|
106 |
iSch->Call();
|
|
107 |
}
|
|
108 |
}
|
|
109 |
else
|
|
110 |
{
|
|
111 |
LOGTEXT("CTelServer received Shutdown option EUnGraceful. Not supported, ignoring.");
|
|
112 |
}
|
|
113 |
}
|
|
114 |
|
|
115 |
//
|
|
116 |
// CTelSchedulerStop class definitions
|
|
117 |
//
|
|
118 |
|
|
119 |
CTelSchedulerStop* CTelSchedulerStop::NewL()
|
|
120 |
//
|
|
121 |
// Create the TelScheduler Stop async one shot
|
|
122 |
//
|
|
123 |
{
|
|
124 |
return new(ELeave)CTelSchedulerStop;
|
|
125 |
}
|
|
126 |
|
|
127 |
CTelSchedulerStop::CTelSchedulerStop()
|
|
128 |
//
|
|
129 |
// C'tor
|
|
130 |
//
|
|
131 |
:CAsyncOneShot(CActive::EPriorityLow)
|
|
132 |
{
|
|
133 |
__DECLARE_NAME(_S("CTelSchedulerStop"));
|
|
134 |
}
|
|
135 |
|
|
136 |
CTelSchedulerStop::~CTelSchedulerStop()
|
|
137 |
{
|
|
138 |
Cancel();
|
|
139 |
}
|
|
140 |
|
|
141 |
void CTelSchedulerStop::RunL()
|
|
142 |
//
|
|
143 |
// Stop the Active Scheduler (after any libraries have been unloaded)
|
|
144 |
//
|
|
145 |
{
|
|
146 |
LOGTEXT("In RunL and about to stop CActiveScheduler");
|
|
147 |
CActiveScheduler::Stop();
|
|
148 |
}
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
//
|
|
153 |
// CTelServer class definitions
|
|
154 |
//
|
|
155 |
|
|
156 |
CTelServer* CTelServer::NewL(RCFChannel::TMsgQueues aRxQueues, RCFChannel::TMsgQueues aTxQueues)
|
|
157 |
{
|
|
158 |
CTelServer* pS = new (ELeave) CTelServer(EPriority);
|
|
159 |
CleanupStack::PushL(pS);
|
|
160 |
pS->ConstructL(aRxQueues, aTxQueues);
|
|
161 |
CleanupStack::Pop(pS);
|
|
162 |
return pS;
|
|
163 |
}
|
|
164 |
|
|
165 |
CTelServer::CTelServer(TInt aPriority)
|
|
166 |
: CPolicyServer(aPriority, iPolicy, ESharableSessions), iSessionCount(0), iShutGracefully(EFalse)
|
|
167 |
{
|
|
168 |
__DECLARE_NAME(_S("CTelServer"));
|
|
169 |
}
|
|
170 |
|
|
171 |
void CTelServer::ConstructL(RCFChannel::TMsgQueues aRxQueues, RCFChannel::TMsgQueues aTxQueues)
|
|
172 |
{
|
|
173 |
iPhoneManager=CPhoneManager::NewL();
|
|
174 |
iSch=CTelSchedulerStop::NewL();
|
|
175 |
iPriorityClientSession=NULL;
|
|
176 |
iChannelHandler = CTelChannelHandler::NewL(aRxQueues, aTxQueues, this);
|
|
177 |
#if defined (__EABI__)
|
|
178 |
iPriorityClientSid = KPriorityClientSid;
|
|
179 |
iLocationServicesNetworkGatewaySid = KLocationServicesNetworkGatewaySid;
|
|
180 |
iSatEngineSid = KSatEngineSid;
|
|
181 |
#else // WINS
|
|
182 |
// for the emulator the SecureId of Master phone application is patched via the epoc.ini file
|
|
183 |
UserSvr::HalFunction(EHalGroupEmulator,EEmulatorHalIntProperty,(TAny*)"etel_KPriorityClientSid",&iPriorityClientSid);
|
|
184 |
// for the emulator the SecureId of Location Services Network Gateway process is patched via the epoc.ini file
|
|
185 |
UserSvr::HalFunction(EHalGroupEmulator,EEmulatorHalIntProperty,(TAny*)"etel_KLocationServicesNetworkGatewaySid",&iLocationServicesNetworkGatewaySid);
|
|
186 |
// for the emulator the SecureId of the SAT engine is patched via the epoc.ini file
|
|
187 |
UserSvr::HalFunction(EHalGroupEmulator,EEmulatorHalIntProperty,(TAny*)"etel_KSatEngineSid",&iSatEngineSid);
|
|
188 |
#endif
|
|
189 |
RECORD_HEADER
|
|
190 |
StartL(ETEL_SERVER_NAME);
|
|
191 |
}
|
|
192 |
|
|
193 |
CTelServer::~CTelServer()
|
|
194 |
{
|
|
195 |
LOGTEXT("CTelServer::~CTelServer()");
|
|
196 |
delete iChannelHandler;
|
|
197 |
delete iPhoneManager;
|
|
198 |
delete iSch;
|
|
199 |
iEmergencyClientSessions.Reset();
|
|
200 |
}
|
|
201 |
|
|
202 |
CSession2* CTelServer::NewSessionL(const TVersion &aVersion,const RMessage2& /*aMessage*/) const
|
|
203 |
//
|
|
204 |
// Create a new client for this server.
|
|
205 |
//
|
|
206 |
{
|
|
207 |
TVersion v(KEtelMajorVersionNumber,KEtelMinorVersionNumber,KEtelBuildVersionNumber);
|
|
208 |
if (User::QueryVersionSupported(v,aVersion)==FALSE)
|
|
209 |
User::Leave(KErrNotSupported);
|
|
210 |
CTelSession* sess = new(ELeave) CTelSession(iPhoneManager);
|
|
211 |
RECORD_SESSION_NEW(sess);
|
|
212 |
RECORD_COMPLETE(sess,0,KErrNone);
|
|
213 |
return sess;
|
|
214 |
}
|
|
215 |
|
|
216 |
void CTelServer::Inc()
|
|
217 |
//
|
|
218 |
// Increase session count
|
|
219 |
//
|
|
220 |
{
|
|
221 |
if((iSessionCount==0)&&(iSch->IsActive()))
|
|
222 |
{
|
|
223 |
iSch->Cancel();
|
|
224 |
}
|
|
225 |
iSessionCount++;
|
|
226 |
}
|
|
227 |
|
|
228 |
TInt CTelServer::Count() const
|
|
229 |
//
|
|
230 |
// Session count
|
|
231 |
//
|
|
232 |
{
|
|
233 |
return iSessionCount;
|
|
234 |
}
|
|
235 |
|
|
236 |
void CTelServer::Dec()
|
|
237 |
//
|
|
238 |
// Decrement a session stop scheduler if no session
|
|
239 |
//
|
|
240 |
{
|
|
241 |
LOGTEXT("Entered CTelServer::Dec");
|
|
242 |
__ASSERT_ALWAYS((iSessionCount>0),Fault(EEtelFaultNegativeSessionCount));
|
|
243 |
iSessionCount--;
|
|
244 |
LOGTEXT2("Session Count is %d", iSessionCount);
|
|
245 |
// If iShutGracefully==ETrue the Rootserver has informed us that it wants us to shutdown
|
|
246 |
// next time there is no sessions. If it is EFalse no such notification has arrived and
|
|
247 |
// ETel continues running even though there are no sessions.
|
|
248 |
if((iSessionCount==0) && (iShutGracefully))
|
|
249 |
{
|
|
250 |
LOGTEXT("Calling AsynOneShot::Call()");
|
|
251 |
iSch->Call();
|
|
252 |
}
|
|
253 |
LOGTEXT("Exited from CTelServer::Dec");
|
|
254 |
}
|
|
255 |
|
|
256 |
TBool CTelServer::IsPriorityClient(const CTelSession* aSession) const
|
|
257 |
//
|
|
258 |
// Check if aSession is the priority client session
|
|
259 |
//
|
|
260 |
{
|
|
261 |
return (aSession==iPriorityClientSession);
|
|
262 |
}
|
|
263 |
|
|
264 |
TInt CTelServer::SetPriorityClient(CTelSession* aSession)
|
|
265 |
//
|
|
266 |
// Set aSession as the priority client session if there is not one already.
|
|
267 |
// Return KErrAlreadyExists if there is one already, KErrNoMemory if the
|
|
268 |
// heap cannot be allocated.
|
|
269 |
//
|
|
270 |
{
|
|
271 |
if (iPriorityClientSession==NULL)
|
|
272 |
{
|
|
273 |
iPriorityClientSession=aSession;
|
|
274 |
return KErrNone;
|
|
275 |
}
|
|
276 |
return KErrAlreadyExists;
|
|
277 |
}
|
|
278 |
|
|
279 |
TInt CTelServer::RemovePriorityClient(CTelSession* aSession)
|
|
280 |
//
|
|
281 |
// Remove aSession as the priority client if it is the priority client
|
|
282 |
// Returns KErrAccessDenied if aSession is not the priority client
|
|
283 |
//
|
|
284 |
{
|
|
285 |
if (IsPriorityClient(aSession))
|
|
286 |
{
|
|
287 |
iPriorityClientSession=NULL;
|
|
288 |
return KErrNone;
|
|
289 |
}
|
|
290 |
return KErrAccessDenied;
|
|
291 |
}
|
|
292 |
|
|
293 |
CPolicyServer::TCustomResult CTelServer::CustomSecurityCheckL(const RMessage2& aMsg, TInt& /*aAction*/, TSecurityInfo& /*aMissing*/)
|
|
294 |
/**
|
|
295 |
Performs a custom security policy check on an IPC. Requests from the TSY
|
|
296 |
the capabilities required to service the specified IPC.
|
|
297 |
|
|
298 |
In the case of Etel RTelServer::SetPriorityClient and
|
|
299 |
RTelServer::SetPriorityClientV2 APIs which has IPC opcodes
|
|
300 |
EEtelServerSetPriorityClient, EEtelServerSetPriorityClientV2 respectively
|
|
301 |
a combination of NetworkControl and SID of the phone application is checked.
|
|
302 |
|
|
303 |
In the case of ETelMM RMobileLocationServices::Open call which has IPC opcode
|
|
304 |
EEtelOpenFromSubSessionLcs, the SecureId of Location Services Network
|
|
305 |
Gateway is checked.
|
|
306 |
|
|
307 |
For ETelMM RMobileCall::DialCallControl, which has IPC
|
|
308 |
EMobileCallDialCallControl, a check for NetworkServices and NetworkControl
|
|
309 |
capabilities is made and the SID of the SAT engine is checked.
|
|
310 |
|
|
311 |
@param aMsg RMessage2 containing client capabilites and request IPC.
|
|
312 |
@param aAction A reference to the action to take if the security check fails.
|
|
313 |
@param aMissing reference to the list of security attributes missing from the checked process.
|
|
314 |
@return CPolicyServer::EPass or CPolicyServer::EFail
|
|
315 |
*/
|
|
316 |
|
|
317 |
{
|
|
318 |
//Set the defualt required capability to always fail the check
|
|
319 |
TSecurityPolicy requiredCapabilities(TSecurityPolicy::EAlwaysFail);
|
|
320 |
TCustomResult retCode = EFail;
|
|
321 |
|
|
322 |
CTelSession* session=static_cast<CTelSession*>(aMsg.Session());
|
|
323 |
if(session)
|
|
324 |
{
|
|
325 |
switch(aMsg.Function())
|
|
326 |
{
|
|
327 |
// RTelServer::SetPriorityClient is policed with NetworkControl capability and SecureId of master phone application
|
|
328 |
case EEtelServerSetPriorityClient:
|
|
329 |
case EEtelServerSetPriorityClientV2:
|
|
330 |
{
|
|
331 |
TSecurityPolicy securityPolicy(ECapabilityNetworkControl);
|
|
332 |
if(securityPolicy.CheckPolicy(aMsg) && aMsg.SecureId() == iPriorityClientSid)
|
|
333 |
{
|
|
334 |
retCode = EPass;
|
|
335 |
}
|
|
336 |
break;
|
|
337 |
}
|
|
338 |
// RMobileLocationServices::Open call is policed with SecureId of Location Services Network Gateway process
|
|
339 |
case EEtelOpenFromSubSessionLcs:
|
|
340 |
{
|
|
341 |
if(aMsg.SecureId() == iLocationServicesNetworkGatewaySid)
|
|
342 |
{
|
|
343 |
retCode = EPass;
|
|
344 |
}
|
|
345 |
break;
|
|
346 |
}
|
|
347 |
// RMobileCall::DialCallControl and cancellation of this
|
|
348 |
// request is policed by NetworkControl and
|
|
349 |
// NetworkServices capability and the SecureId of the SAT engine.
|
|
350 |
case EMobileCallDialCallControl:
|
|
351 |
case EMobileCallDialCallControlCancel:
|
|
352 |
{
|
|
353 |
TSecurityPolicy securityPolicy(ECapabilityNetworkControl, ECapabilityNetworkServices);
|
|
354 |
if (securityPolicy.CheckPolicy(aMsg) && aMsg.SecureId() == iSatEngineSid)
|
|
355 |
{
|
|
356 |
retCode = EPass;
|
|
357 |
}
|
|
358 |
break;
|
|
359 |
}
|
|
360 |
default:
|
|
361 |
{
|
|
362 |
CTelObject* theObj=session->CObjectFromHandle(aMsg.Int3());
|
|
363 |
if(theObj)
|
|
364 |
{
|
|
365 |
//Get the policy for the incoming custom IPC request from the TSY
|
|
366 |
requiredCapabilities = theObj->GetRequiredPlatSecCaps(aMsg.Function());
|
|
367 |
}
|
|
368 |
//Check the capability of the client against the required capability
|
|
369 |
//retrieved from the TSY
|
|
370 |
if(requiredCapabilities.CheckPolicy(aMsg))
|
|
371 |
{
|
|
372 |
retCode = EPass;
|
|
373 |
}
|
|
374 |
break;
|
|
375 |
}
|
|
376 |
}
|
|
377 |
}
|
|
378 |
return retCode;
|
|
379 |
}
|
|
380 |
|
|
381 |
void CTelServer::SetEmergencyClientSession(CTelSession* aEmergencyClientSession)
|
|
382 |
{
|
|
383 |
iEmergencyClientSessions.Append(aEmergencyClientSession);
|
|
384 |
}
|
|
385 |
|
|
386 |
TInt CTelServer::EmergencyClientSessionsCount()
|
|
387 |
{
|
|
388 |
return iEmergencyClientSessions.Count();
|
|
389 |
}
|
|
390 |
|
|
391 |
TInt CTelServer::RemoveEmergencyClient(CTelSession* aSession)
|
|
392 |
{
|
|
393 |
for(int i =0;i<iEmergencyClientSessions.Count();i++)
|
|
394 |
{
|
|
395 |
if(iEmergencyClientSessions[i] == aSession)
|
|
396 |
{
|
|
397 |
iEmergencyClientSessions.Remove(i);
|
|
398 |
return KErrNone;
|
|
399 |
}
|
|
400 |
}
|
|
401 |
return KErrAccessDenied;
|
|
402 |
}
|
|
403 |
|
|
404 |
TBool CTelServer::IsEmergencyClient(const CTelSession* aSession) const
|
|
405 |
{
|
|
406 |
for(int i =0;i<iEmergencyClientSessions.Count();i++)
|
|
407 |
{
|
|
408 |
if(iEmergencyClientSessions[i] == aSession)
|
|
409 |
{
|
|
410 |
return ETrue;
|
|
411 |
}
|
|
412 |
}
|
|
413 |
return EFalse;
|
|
414 |
}
|
|
415 |
|
|
416 |
|
|
417 |
//
|
|
418 |
// CTelScheduler class definitions
|
|
419 |
//
|
|
420 |
|
|
421 |
CTelScheduler* CTelScheduler::New()
|
|
422 |
//
|
|
423 |
// Create and install the active scheduler.
|
|
424 |
//
|
|
425 |
{
|
|
426 |
CTelScheduler* pA=new CTelScheduler;
|
|
427 |
__ASSERT_ALWAYS(pA!=NULL,Fault(EEtelFaultMainSchedulerError));
|
|
428 |
CTelScheduler::Install(pA);
|
|
429 |
return pA;
|
|
430 |
}
|
|
431 |
|
|
432 |
void CTelScheduler::Error(TInt) const
|
|
433 |
//
|
|
434 |
// Called if any Run() method leaves.
|
|
435 |
//
|
|
436 |
{
|
|
437 |
Fault(EEtelFaultMainSchedulerError);
|
|
438 |
}
|
|
439 |
|
|
440 |
EXPORT_C TInt EtelServerThread(TAny* aArg)
|
|
441 |
//
|
|
442 |
// The ETel Server Thread.
|
|
443 |
//
|
|
444 |
{
|
|
445 |
// RThread::SetProtected is superceded by the security model
|
|
446 |
|
|
447 |
__UHEAP_MARK;
|
|
448 |
LOGTEXT("----------New Log----------\015\012");
|
|
449 |
LOGTEXT("Entered ETel Server thread");
|
|
450 |
LOGTEXTREL("Entered ETel Server thread");
|
|
451 |
|
|
452 |
CTrapCleanup* pT;
|
|
453 |
if ((pT=CTrapCleanup::New())==NULL)
|
|
454 |
{
|
|
455 |
Fault(EEtelFaultCreateTrapCleanup);
|
|
456 |
}
|
|
457 |
|
|
458 |
//
|
|
459 |
// Start the scheduler and then the server
|
|
460 |
//
|
|
461 |
CTelScheduler* pScheduler = CTelScheduler::New();
|
|
462 |
if(!pScheduler)
|
|
463 |
{
|
|
464 |
Fault(EEtelFaultMainSchedulerError);
|
|
465 |
}
|
|
466 |
|
|
467 |
TCFModuleInfo* pParameters = (TCFModuleInfo*) aArg;
|
|
468 |
CTelServer* pServer=NULL;
|
|
469 |
TRAPD(err, pServer=CTelServer::NewL(pParameters->iRxQueues, pParameters->iTxQueues));
|
|
470 |
|
|
471 |
if(err!=KErrNone)
|
|
472 |
{
|
|
473 |
Fault(EEtelFaultSvrStartServer);
|
|
474 |
}
|
|
475 |
|
|
476 |
LOGTEXT("ETel:\tMeeting rendezvous\n");
|
|
477 |
RThread::Rendezvous(KErrNone);
|
|
478 |
CTelScheduler::Start();
|
|
479 |
LOGTEXT("ETel:\tScheduler has been stopped\n");
|
|
480 |
|
|
481 |
delete pT;
|
|
482 |
delete pServer;
|
|
483 |
delete pScheduler;
|
|
484 |
|
|
485 |
LOGTEXT("ETel:\tAbout to exit ETel thread function\n");
|
|
486 |
LOGTEXTREL("ETel:\tAbout to exit ETel thread function\n");
|
|
487 |
__UHEAP_MARKEND;
|
|
488 |
|
|
489 |
return(KErrNone);
|
|
490 |
}
|
|
491 |
|
|
492 |
//Definition of ETel's policy table -
|
|
493 |
//Dicates what capability checking takes place for any given IPC request
|
|
494 |
|
|
495 |
const TUint CTelServer::iRangeCount = 334;
|
|
496 |
const TInt CTelServer::iRanges[iRangeCount] =
|
|
497 |
{
|
|
498 |
0, //range is 0-61 inclusive
|
|
499 |
62, //range is 62-70 inclusive
|
|
500 |
71, //range is 71-72 inclusive
|
|
501 |
73, //range is 73
|
|
502 |
74, //range is 74
|
|
503 |
75, //range is 75-76 inclusive
|
|
504 |
77, //range is 77
|
|
505 |
78, //range is 78-84 inclusive
|
|
506 |
85, //range is 85
|
|
507 |
86, //range is 86
|
|
508 |
87, //range is 87
|
|
509 |
88, //range is 88
|
|
510 |
89, //range is 89-95 inclusive
|
|
511 |
96, //range is 96-505 inclusive
|
|
512 |
506, //range is 506
|
|
513 |
507, //range is 507-507 inclusive
|
|
514 |
508, //range is 508
|
|
515 |
509, //range is 509-509 inclusive
|
|
516 |
510, //range is 510
|
|
517 |
511, //range is 511-519 inclusive
|
|
518 |
520, //range is 520
|
|
519 |
521, //range is 521-521 inclusive
|
|
520 |
522, //range is 522
|
|
521 |
523, //range is 523-523 inclusive
|
|
522 |
524, //range is 524
|
|
523 |
525, //range is 525-532 inclusive
|
|
524 |
533, //range is 533
|
|
525 |
534, //range is 534-539 inclusive
|
|
526 |
540, //range is 540
|
|
527 |
541, //range is 541-541 inclusive
|
|
528 |
542, //range is 542
|
|
529 |
543, //range is 543-543 inclusive
|
|
530 |
544, //range is 544
|
|
531 |
545, //range is 545-550 inclusive
|
|
532 |
551, //range is 551
|
|
533 |
552, //range is 552-562 inclusive
|
|
534 |
563, //range is 563
|
|
535 |
564, //range is 564-564 inclusive
|
|
536 |
565, //range is 565
|
|
537 |
566, //range is 566-566 inclusive
|
|
538 |
567, //range is 567
|
|
539 |
568, //range is 568-570 inclusive
|
|
540 |
571, //range is 571
|
|
541 |
572, //range is 572-574 inclusive
|
|
542 |
575, //range is 575
|
|
543 |
576, //range is 576-577 inclusive
|
|
544 |
578, //range is 578
|
|
545 |
579, //range is 579-579 inclusive
|
|
546 |
580, //range is 580
|
|
547 |
581, //range is 581-581 inclusive
|
|
548 |
582, //range is 582
|
|
549 |
583, //range is 583-584 inclusive
|
|
550 |
585, //range is 585
|
|
551 |
586, //range is 586
|
|
552 |
587, //range is 587-590 inclusive
|
|
553 |
591, //range is 591
|
|
554 |
592, //range is 592-19999 inclusive
|
|
555 |
20000, //range is 20000-20118 inclusive
|
|
556 |
20119, //range is 20119-20500 inclusive
|
|
557 |
20501, //range is 20501-20502 inclusive
|
|
558 |
20503, //range is 20503-20507 inclusive
|
|
559 |
20508, //range is 20508-20516 inclusive
|
|
560 |
20517, //range is 20517-20519 inclusive
|
|
561 |
20520, //range is 20520-20522 inclusive
|
|
562 |
20523, //range is 20523-20523 inclusive
|
|
563 |
20524, //range is 20524-20525 inclusive
|
|
564 |
20526, //range is 20526-20529 inclusive
|
|
565 |
20530, //range is 20530-20532 inclusive
|
|
566 |
20533, //range is 20533-20533 inclusive
|
|
567 |
20534, //range is 20534-20535 inclusive
|
|
568 |
20536, //range is 20536-20537 inclusive
|
|
569 |
20538, //range is 20538
|
|
570 |
20539, //range is 20539-20539 inclusive
|
|
571 |
20540, //range is 20540-20541 inclusive
|
|
572 |
20542, //range is 20542-20543 inclusive
|
|
573 |
20544, //range is 20544-20546 inclusive
|
|
574 |
20547, //range is 20547-20547 inclusive
|
|
575 |
20548, //range is 20548-20550 inclusive
|
|
576 |
20551, //range is 20551-20553 inclusive
|
|
577 |
20554, //range is 20554-20556 inclusive
|
|
578 |
20557, //range is 20557-20557 inclusive
|
|
579 |
20558, //range is 20558
|
|
580 |
20559, //range is 20559-20559 inclusive
|
|
581 |
20560, //range is 20560-20601 inclusive
|
|
582 |
20602, //range is 20602-20603 inclusive
|
|
583 |
20604, //range is 20604
|
|
584 |
20605, //range is 20605-20606 inclusive
|
|
585 |
20607, //range is 20607-20609 inclusive
|
|
586 |
20610, //range is 20610-20610 inclusive
|
|
587 |
20611, //range is 20611-20618 inclusive
|
|
588 |
20619, //range is 20619-20999 inclusive
|
|
589 |
21000, //range is 21000-21030 inclusive
|
|
590 |
21031, //range is 21031-21499 inclusive
|
|
591 |
21500, //range is 21500-21508 inclusive
|
|
592 |
21509, //range is 21509-21509 inclusive
|
|
593 |
21510, //range is 21510-21511 inclusive
|
|
594 |
21512, //range is 21512-21513 inclusive
|
|
595 |
21514, //range is 21514-21521 inclusive
|
|
596 |
21522, //range is 21522-21522 inclusive
|
|
597 |
21523, //range is 21523-21524 inclusive
|
|
598 |
21525, //range is 21525-21525 inclusive
|
|
599 |
21526, //range is 21526
|
|
600 |
21527, //range is 21527-21528 inclusive
|
|
601 |
21529, //range is 21529-21530 inclusive
|
|
602 |
21531, //range is 21531-21999 inclusive
|
|
603 |
22000, //range is 22000-22003 inclusive
|
|
604 |
22004, //range is 22004
|
|
605 |
22005, //range is 22005-22008 inclusive
|
|
606 |
22009, //range is 22009
|
|
607 |
22010, //range is 22010-22011 inclusive
|
|
608 |
22012, //range is 22012
|
|
609 |
22013, //range is 22013-22015 inclusive
|
|
610 |
22016, //range is 22016
|
|
611 |
22017, //range is 22017-22057 inclusive
|
|
612 |
22058, //range is 22058-22500 inclusive
|
|
613 |
22501, //range is 22501-22503 inclusive
|
|
614 |
22504, //range is 22504
|
|
615 |
22505, //range is 22505-22507 inclusive
|
|
616 |
22508, //range is 22508-22508 inclusive
|
|
617 |
22509, //range is 22509
|
|
618 |
22510, //range is 22510-22510 inclusive
|
|
619 |
22511, //range is 22511
|
|
620 |
22512, //range is 22512
|
|
621 |
22513, //range is 22513-22514 inclusive
|
|
622 |
22515, //range is 22515-22515 inclusive
|
|
623 |
22516, //range is 22516
|
|
624 |
22517, //range is 22517-22524 inclusive
|
|
625 |
22525, //range is 22525-22525 inclusive
|
|
626 |
22526, //range is 22526
|
|
627 |
22527, //range is 22527-22527 inclusive
|
|
628 |
22528, //range is 22528
|
|
629 |
22529, //range is 22529-22529 inclusive
|
|
630 |
22530, //range is 22530
|
|
631 |
22531, //range is 22531-22531 inclusive
|
|
632 |
22532, //range is 22532-22543 inclusive
|
|
633 |
22544, //range is 22544-22546 inclusive
|
|
634 |
22547, //range is 22547-22552 inclusive
|
|
635 |
22553, //range is 22553-22553 inclusive
|
|
636 |
22554, //range is 22554-22556 inclusive
|
|
637 |
22557, //range is 22557-22999 inclusive
|
|
638 |
23000, //range is 23000-23028 inclusive
|
|
639 |
23029, //range is 23029-23030 inclusive
|
|
640 |
23031, //range is 23031-23035 inclusive
|
|
641 |
23036, //range is 23036-23499 inclusive
|
|
642 |
23500, //range is 23500-23502 inclusive
|
|
643 |
23503, //range is 23503-23503 inclusive
|
|
644 |
23504, //range is 23504-23528 inclusive
|
|
645 |
23529, //range is 23529-23530 inclusive
|
|
646 |
23531, //range is 23531-23535 inclusive
|
|
647 |
23536, //range is 23536-23999 inclusive
|
|
648 |
24000, //range is 24000-24010 inclusive
|
|
649 |
24011, //range is 24011
|
|
650 |
24012, //range is 24012-24014 inclusive
|
|
651 |
24015, //range is 24015
|
|
652 |
24016, //range is 24016-24019 inclusive
|
|
653 |
24020, //range is 24020-24500 inclusive
|
|
654 |
24501, //range is 24501
|
|
655 |
24502, //range is 24502-24502 inclusive
|
|
656 |
24503, //range is 24503-24508 inclusive
|
|
657 |
24509, //range is 24509-24509 inclusive
|
|
658 |
24510, //range is 24510
|
|
659 |
24511, //range is 24511
|
|
660 |
24512, //range is 24512-24514 inclusive
|
|
661 |
24515, //range is 24515
|
|
662 |
24516, //range is 24516-24519 inclusive
|
|
663 |
24520, //range is 24520-24999 inclusive
|
|
664 |
25000, //range is 25000-25007 inclusive
|
|
665 |
25008, //range is 25008-25499 inclusive
|
|
666 |
25500, //range is 25500-25507 inclusive
|
|
667 |
25508, //range is 25508-25999 inclusive
|
|
668 |
26000, //range is 26000-26003 inclusive
|
|
669 |
26004, //range is 26004-26499 inclusive
|
|
670 |
26500, //range is 26500-26503 inclusive
|
|
671 |
26504, //range is 26504-26999 inclusive
|
|
672 |
27000, //range is 27000-27006 inclusive
|
|
673 |
27007, //range is 27007-27499 inclusive
|
|
674 |
27500, //range is 27500-27506 inclusive
|
|
675 |
27507, //range is 27507-27999 inclusive
|
|
676 |
28000, //range is 28000-28002 inclusive
|
77
|
677 |
28004, //range is 28004-28499 inclusive
|
24
|
678 |
28500, //range is 28500-28502 inclusive
|
77
|
679 |
28504, //range is 28504-28999 inclusive
|
24
|
680 |
29000, //range is 29000-29004 inclusive
|
|
681 |
29005, //range is 29005-29005 inclusive
|
|
682 |
29006, //range is 29006
|
|
683 |
29007, //range is 29007-29499 inclusive
|
|
684 |
29500, //range is 29500
|
|
685 |
29501, //range is 29501-29501 inclusive
|
|
686 |
29502, //range is 29502-29504 inclusive
|
|
687 |
29505, //range is 29505-29999 inclusive
|
|
688 |
30000, //range is 30000-30002 inclusive
|
|
689 |
30003, //range is 30003-30499 inclusive
|
|
690 |
30500, //range is 30500-30502 inclusive
|
|
691 |
30503, //range is 30503-30999 inclusive
|
|
692 |
31000, //range is 31000-31015 inclusive
|
|
693 |
31016, //range is 31016-31499 inclusive
|
|
694 |
31500, //range is 31500
|
|
695 |
31501, //range is 31501-31501 inclusive
|
|
696 |
31502, //range is 31502
|
|
697 |
31503, //range is 31503-31503 inclusive
|
|
698 |
31504, //range is 31504
|
|
699 |
31505, //range is 31505-31505 inclusive
|
|
700 |
31506, //range is 31506
|
|
701 |
31507, //range is 31507-31507 inclusive
|
|
702 |
31508, //range is 31508
|
|
703 |
31509, //range is 31509-31509 inclusive
|
|
704 |
31510, //range is 31510-31511 inclusive
|
|
705 |
31512, //range is 31512-31513 inclusive
|
|
706 |
31514, //range is 31514
|
|
707 |
31515, //range is 31515-31999 inclusive
|
|
708 |
32000, //range is 32000-32001 inclusive
|
|
709 |
32002, //range is 32002-32499 inclusive
|
|
710 |
32500, //range is 32500-32501 inclusive
|
|
711 |
32502, //range is 32502-32999 inclusive
|
|
712 |
33000, //range is 33000-33010 inclusive
|
|
713 |
33011, //range is 33011-33499 inclusive
|
|
714 |
33500, //range is 33500-33510 inclusive
|
|
715 |
33511, //range is 33511-33999 inclusive
|
|
716 |
34000, //range is 34000-34003 inclusive
|
|
717 |
34004, //range is 34004-34499 inclusive
|
|
718 |
34500, //range is 34500-34503 inclusive
|
|
719 |
34504, //range is 34504-34999 inclusive
|
|
720 |
35000, //range is 35000-35009 inclusive
|
|
721 |
35010, //range is 35010-35499 inclusive
|
|
722 |
35500, //range is 35500-35507 inclusive
|
|
723 |
35508, //range is 35508-35508 inclusive
|
|
724 |
35509, //range is 35509
|
|
725 |
35510, //range is 35510-39999 inclusive
|
|
726 |
#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
|
|
727 |
40000, //range is 40000-40029 inclusive
|
|
728 |
40030, //range is 40030-40499 inclusive
|
|
729 |
#else
|
|
730 |
40000, //range is 40000-40027 inclusive
|
|
731 |
40028, //range is 40028-40499 inclusive
|
|
732 |
#endif // SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
|
|
733 |
40500, //range is 40500
|
|
734 |
40501, //range is 40501-40503 inclusive
|
|
735 |
40504, //range is 40504-40510 inclusive
|
|
736 |
40511, //range is 40511-40511 inclusive
|
|
737 |
40512, //range is 40512-40514 inclusive
|
|
738 |
40515, //range is 40515-40516 inclusive
|
|
739 |
40517, //range is 40517-40524 inclusive
|
|
740 |
40525, //range is 40525-40525 inclusive
|
|
741 |
#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
|
|
742 |
40526, //range is 40526-40529 inclusive
|
|
743 |
40530, //range is 40530-40999 inclusive
|
|
744 |
#else
|
|
745 |
40526, //range is 40526-40527 inclusive
|
|
746 |
40528, //range is 40528-40999 inclusive
|
|
747 |
#endif // SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
|
|
748 |
41000, //range is 41000-41011 inclusive
|
|
749 |
41012, //range is 41012-41499 inclusive
|
|
750 |
41500, //range is 41500-41511 inclusive
|
|
751 |
41512, //range is 41512-41999 inclusive
|
|
752 |
42000, //range is 42000-42016 inclusive
|
|
753 |
42017, //range is 42017-42499 inclusive
|
|
754 |
42500, //range is 42500-42511 inclusive
|
|
755 |
42512, //range is 42512-42512 inclusive
|
|
756 |
42513, //range is 42513-42515 inclusive
|
|
757 |
42516, //range is 42516-42999 inclusive
|
|
758 |
43000, //range is 43000-43005 inclusive
|
|
759 |
43006, //range is 43006-43499 inclusive
|
|
760 |
43500, //range is 43500-43505 inclusive
|
|
761 |
43506, //range is 43506-43999 inclusive
|
|
762 |
44000, //range is 44000-44001 inclusive
|
|
763 |
44002, //range is 44002-44499 inclusive
|
|
764 |
44500, //range is 44500-44501 inclusive
|
|
765 |
44502, //range is 44502-44999 inclusive
|
|
766 |
45000, //range is 45000-45001 inclusive
|
|
767 |
45002, //range is 45002-45499 inclusive
|
|
768 |
45500, //range is 45500-45501 inclusive
|
|
769 |
45502, //range is 45502-45999 inclusive
|
|
770 |
46000, //range is 46000-46006 inclusive
|
|
771 |
46007, //range is 46007-46499 inclusive
|
|
772 |
46500, //range is 46500-46506 inclusive
|
|
773 |
46507, //range is 46507-59999 inclusive
|
|
774 |
60000, //range is 60000-60027 inclusive
|
|
775 |
60028, //range is 60028-60499 inclusive
|
|
776 |
60500, //range is 60500-60527 inclusive
|
|
777 |
60528, //range is 60528-60999 inclusive
|
|
778 |
61000, //range is 61000-61021 inclusive
|
|
779 |
61022, //range is 61022-61499 inclusive
|
|
780 |
61500, //range is 61500-61521 inclusive
|
|
781 |
61522, //range is 61522-61999 inclusive
|
|
782 |
62000, //range is 62000
|
|
783 |
62001, //range is 62001-62499 inclusive
|
|
784 |
62500, //range is 62500
|
|
785 |
62501, //range is 62501-62999 inclusive
|
|
786 |
63000, //range is 63000-63001 inclusive
|
|
787 |
63002, //range is 63002-63499 inclusive
|
|
788 |
63500, //range is 63500
|
|
789 |
63501, //range is 63501-63999 inclusive
|
|
790 |
64000, //range is 64000-64006 inclusive
|
|
791 |
64007, //range is 64007-64499 inclusive
|
|
792 |
64500, //range is 64500-64506 inclusive
|
|
793 |
64507, //range is 64507-64999 inclusive
|
|
794 |
65000, //range is 65000-65003 inclusive
|
|
795 |
65004, //range is 65004-65500 inclusive
|
|
796 |
65501, //range is 65501-65503 inclusive
|
|
797 |
65504, //range is 65504-65999 inclusive
|
|
798 |
66000, //range is 66000
|
|
799 |
66001, //range is 66001-66499 inclusive
|
|
800 |
66500, //range is 66500
|
|
801 |
66501, //range is 66501-79999 inclusive
|
|
802 |
80000, //range is 80000-80018 inclusive
|
|
803 |
80019, //range is 80019-80499 inclusive
|
|
804 |
80500, //range is 80500-80518 inclusive
|
|
805 |
80519, //range is 80519-80999 inclusive
|
|
806 |
81000, //range is 81000-81001 inclusive
|
|
807 |
81002, //range is 81002-81499 inclusive
|
|
808 |
81500, //range is 81500-81501 inclusive
|
|
809 |
81502, //range is 81502-81999 inclusive
|
|
810 |
82000, //range is 82000-82002 inclusive
|
|
811 |
82003, //range is 82003-82499 inclusive
|
|
812 |
82500, //range is 82500
|
|
813 |
82501, //range is 82501-82501 inclusive
|
|
814 |
82502, //range is 82502
|
|
815 |
82503, //range is 82503-82999 inclusive
|
|
816 |
83000, //range is 83000-83007 inclusive
|
|
817 |
83008, //range is 83008-83499 inclusive
|
|
818 |
83500, //range is 83500-83507 inclusive
|
|
819 |
83508, //range is 83508-83999 inclusive
|
|
820 |
84000, //range is 84000
|
|
821 |
84001, //range is 84001-84499 inclusive
|
|
822 |
84500, //range is 84500
|
|
823 |
84501, //range is 84501-84999 inclusive
|
|
824 |
85000, //range is 85000-85001 inclusive
|
|
825 |
85002, //range is 85002-85499 inclusive
|
|
826 |
85500, //range is 85500-85501 inclusive
|
|
827 |
85502, //range is 85502-85999 inclusive
|
|
828 |
86000, //range is 86000
|
|
829 |
86001, //range is 86001-86499 inclusive
|
|
830 |
86500, //range is 86500
|
|
831 |
86501, //range is 86501-86999 inclusive
|
|
832 |
87000, //range is 87000
|
|
833 |
87001, //range is 87001-87499 inclusive
|
|
834 |
87500, //range is 87500
|
|
835 |
87501, //range is 87501-87999 inclusive
|
|
836 |
88000, //range is 88000-88001 inclusive
|
|
837 |
88002, //range is 88002-88499 inclusive
|
|
838 |
88500, //range is 88500-88501 inclusive
|
|
839 |
88502, //range is 88502-999999 inclusive
|
|
840 |
1000000, //range is 1000000-1000999 inclusive
|
|
841 |
1001000, //range is 1001000-KMaxTInt inclusive
|
|
842 |
};
|
|
843 |
|
|
844 |
|
|
845 |
|
|
846 |
const TUint8 CTelServer::iElementsIndex[iRangeCount] =
|
|
847 |
{
|
|
848 |
11,
|
|
849 |
5,
|
|
850 |
11,
|
|
851 |
14,
|
|
852 |
0,
|
|
853 |
11,
|
|
854 |
CPolicyServer::ECustomCheck,
|
|
855 |
1,
|
|
856 |
8,
|
|
857 |
10,
|
|
858 |
11,
|
|
859 |
14,
|
|
860 |
3,
|
|
861 |
CPolicyServer::ENotSupported,
|
|
862 |
11,
|
|
863 |
CPolicyServer::ENotSupported,
|
|
864 |
11,
|
|
865 |
CPolicyServer::ENotSupported,
|
|
866 |
1,
|
|
867 |
CPolicyServer::ENotSupported,
|
|
868 |
11,
|
|
869 |
CPolicyServer::ENotSupported,
|
|
870 |
11,
|
|
871 |
CPolicyServer::ENotSupported,
|
|
872 |
11,
|
|
873 |
CPolicyServer::ENotSupported,
|
|
874 |
11,
|
|
875 |
CPolicyServer::ENotSupported,
|
|
876 |
11,
|
|
877 |
CPolicyServer::ENotSupported,
|
|
878 |
11,
|
|
879 |
CPolicyServer::ENotSupported,
|
|
880 |
11,
|
|
881 |
CPolicyServer::ENotSupported,
|
|
882 |
11,
|
|
883 |
CPolicyServer::ENotSupported,
|
|
884 |
5,
|
|
885 |
CPolicyServer::ENotSupported,
|
|
886 |
5,
|
|
887 |
CPolicyServer::ENotSupported,
|
|
888 |
5,
|
|
889 |
CPolicyServer::ENotSupported,
|
|
890 |
5,
|
|
891 |
CPolicyServer::ENotSupported,
|
|
892 |
11,
|
|
893 |
CPolicyServer::ENotSupported,
|
|
894 |
1,
|
|
895 |
CPolicyServer::ENotSupported,
|
|
896 |
1,
|
|
897 |
CPolicyServer::ENotSupported,
|
|
898 |
11,
|
|
899 |
CPolicyServer::ENotSupported,
|
|
900 |
8,
|
|
901 |
10,
|
|
902 |
CPolicyServer::ENotSupported,
|
|
903 |
CPolicyServer::ECustomCheck,
|
|
904 |
CPolicyServer::ENotSupported,
|
|
905 |
11,
|
|
906 |
CPolicyServer::ENotSupported,
|
|
907 |
11,
|
|
908 |
CPolicyServer::ENotSupported,
|
|
909 |
11,
|
|
910 |
CPolicyServer::ENotSupported,
|
|
911 |
11,
|
|
912 |
CPolicyServer::ENotSupported,
|
|
913 |
11,
|
|
914 |
CPolicyServer::ENotSupported,
|
|
915 |
11,
|
|
916 |
CPolicyServer::ENotSupported,
|
|
917 |
11,
|
|
918 |
CPolicyServer::ENotSupported,
|
|
919 |
11,
|
|
920 |
CPolicyServer::ENotSupported,
|
|
921 |
11,
|
|
922 |
CPolicyServer::ENotSupported,
|
|
923 |
11,
|
|
924 |
CPolicyServer::ENotSupported,
|
|
925 |
11,
|
|
926 |
CPolicyServer::ENotSupported,
|
|
927 |
11,
|
|
928 |
CPolicyServer::ENotSupported,
|
|
929 |
11,
|
|
930 |
CPolicyServer::ENotSupported,
|
|
931 |
11,
|
|
932 |
CPolicyServer::ENotSupported,
|
|
933 |
11,
|
|
934 |
CPolicyServer::ENotSupported,
|
|
935 |
11,
|
|
936 |
CPolicyServer::ENotSupported,
|
|
937 |
11,
|
|
938 |
CPolicyServer::ENotSupported,
|
|
939 |
5,
|
|
940 |
CPolicyServer::ENotSupported,
|
|
941 |
5,
|
|
942 |
CPolicyServer::ENotSupported,
|
|
943 |
5,
|
|
944 |
CPolicyServer::ENotSupported,
|
|
945 |
5,
|
|
946 |
CPolicyServer::ENotSupported,
|
|
947 |
5,
|
|
948 |
CPolicyServer::ENotSupported,
|
|
949 |
5,
|
|
950 |
CPolicyServer::ENotSupported,
|
|
951 |
5,
|
|
952 |
CPolicyServer::ENotSupported,
|
|
953 |
12,
|
|
954 |
11,
|
|
955 |
12,
|
|
956 |
11,
|
|
957 |
12,
|
|
958 |
11,
|
|
959 |
12,
|
|
960 |
11,
|
|
961 |
12,
|
|
962 |
CPolicyServer::ENotSupported,
|
|
963 |
12,
|
|
964 |
11,
|
|
965 |
12,
|
|
966 |
CPolicyServer::ENotSupported,
|
|
967 |
11,
|
|
968 |
CPolicyServer::ENotSupported,
|
|
969 |
12,
|
|
970 |
11,
|
|
971 |
12,
|
|
972 |
CPolicyServer::ENotSupported,
|
|
973 |
11,
|
|
974 |
12,
|
|
975 |
CPolicyServer::ENotSupported,
|
|
976 |
12,
|
|
977 |
CPolicyServer::ENotSupported,
|
|
978 |
12,
|
|
979 |
CPolicyServer::ENotSupported,
|
|
980 |
12,
|
|
981 |
CPolicyServer::ENotSupported,
|
|
982 |
12,
|
|
983 |
CPolicyServer::ENotSupported,
|
|
984 |
12,
|
|
985 |
CPolicyServer::ENotSupported,
|
|
986 |
12,
|
|
987 |
CPolicyServer::ENotSupported,
|
|
988 |
14,
|
|
989 |
4,
|
|
990 |
14,
|
|
991 |
CPolicyServer::ENotSupported,
|
|
992 |
14,
|
|
993 |
CPolicyServer::ENotSupported,
|
|
994 |
14,
|
|
995 |
4,
|
|
996 |
14,
|
|
997 |
CPolicyServer::ENotSupported,
|
|
998 |
13,
|
|
999 |
11,
|
|
1000 |
13,
|
|
1001 |
11,
|
|
1002 |
13,
|
|
1003 |
CPolicyServer::ENotSupported,
|
|
1004 |
13,
|
|
1005 |
CPolicyServer::ENotSupported,
|
|
1006 |
13,
|
|
1007 |
CPolicyServer::ENotSupported,
|
|
1008 |
13,
|
|
1009 |
11,
|
|
1010 |
13,
|
|
1011 |
11,
|
|
1012 |
13,
|
|
1013 |
CPolicyServer::ENotSupported,
|
|
1014 |
15,
|
|
1015 |
CPolicyServer::ENotSupported,
|
|
1016 |
15,
|
|
1017 |
CPolicyServer::ENotSupported,
|
|
1018 |
12,
|
|
1019 |
CPolicyServer::ENotSupported,
|
|
1020 |
12,
|
|
1021 |
CPolicyServer::ENotSupported,
|
|
1022 |
1,
|
|
1023 |
CPolicyServer::ENotSupported,
|
|
1024 |
1,
|
|
1025 |
CPolicyServer::ENotSupported,
|
|
1026 |
2,
|
|
1027 |
CPolicyServer::ENotSupported,
|
|
1028 |
2,
|
|
1029 |
CPolicyServer::ENotSupported,
|
|
1030 |
3,
|
|
1031 |
CPolicyServer::ENotSupported,
|
|
1032 |
3,
|
|
1033 |
CPolicyServer::ENotSupported,
|
|
1034 |
3,
|
|
1035 |
CPolicyServer::ENotSupported,
|
|
1036 |
3,
|
|
1037 |
CPolicyServer::ENotSupported,
|
|
1038 |
4,
|
|
1039 |
CPolicyServer::ENotSupported,
|
|
1040 |
4,
|
|
1041 |
CPolicyServer::ENotSupported,
|
|
1042 |
6,
|
|
1043 |
CPolicyServer::ENotSupported,
|
|
1044 |
6,
|
|
1045 |
CPolicyServer::ENotSupported,
|
|
1046 |
6,
|
|
1047 |
CPolicyServer::ENotSupported,
|
|
1048 |
6,
|
|
1049 |
CPolicyServer::ENotSupported,
|
|
1050 |
6,
|
|
1051 |
CPolicyServer::ENotSupported,
|
|
1052 |
6,
|
|
1053 |
CPolicyServer::ENotSupported,
|
|
1054 |
6,
|
|
1055 |
CPolicyServer::ENotSupported,
|
|
1056 |
6,
|
|
1057 |
CPolicyServer::ENotSupported,
|
|
1058 |
8,
|
|
1059 |
CPolicyServer::ENotSupported,
|
|
1060 |
8,
|
|
1061 |
CPolicyServer::ENotSupported,
|
|
1062 |
9,
|
|
1063 |
CPolicyServer::ENotSupported,
|
|
1064 |
9,
|
|
1065 |
CPolicyServer::ENotSupported,
|
|
1066 |
10,
|
|
1067 |
CPolicyServer::ENotSupported,
|
|
1068 |
10,
|
|
1069 |
CPolicyServer::ENotSupported,
|
|
1070 |
11,
|
|
1071 |
CPolicyServer::ENotSupported,
|
|
1072 |
11,
|
|
1073 |
CPolicyServer::ENotSupported,
|
|
1074 |
11,
|
|
1075 |
CPolicyServer::ENotSupported,
|
|
1076 |
11,
|
|
1077 |
CPolicyServer::ENotSupported,
|
|
1078 |
11,
|
|
1079 |
CPolicyServer::ENotSupported,
|
|
1080 |
11,
|
|
1081 |
CPolicyServer::ENotSupported,
|
|
1082 |
11,
|
|
1083 |
CPolicyServer::ENotSupported,
|
|
1084 |
11,
|
|
1085 |
CPolicyServer::ENotSupported,
|
|
1086 |
11,
|
|
1087 |
CPolicyServer::ENotSupported,
|
|
1088 |
5,
|
|
1089 |
CPolicyServer::ENotSupported,
|
|
1090 |
5,
|
|
1091 |
CPolicyServer::ENotSupported,
|
|
1092 |
12,
|
|
1093 |
CPolicyServer::ENotSupported,
|
|
1094 |
12,
|
|
1095 |
CPolicyServer::ENotSupported,
|
|
1096 |
12,
|
|
1097 |
CPolicyServer::ENotSupported,
|
|
1098 |
14,
|
|
1099 |
CPolicyServer::ENotSupported,
|
|
1100 |
14,
|
|
1101 |
CPolicyServer::ENotSupported,
|
|
1102 |
13,
|
|
1103 |
CPolicyServer::ENotSupported,
|
|
1104 |
13,
|
|
1105 |
CPolicyServer::ENotSupported,
|
|
1106 |
6,
|
|
1107 |
CPolicyServer::ENotSupported,
|
|
1108 |
6,
|
|
1109 |
CPolicyServer::ENotSupported,
|
|
1110 |
9,
|
|
1111 |
CPolicyServer::ENotSupported,
|
|
1112 |
9,
|
|
1113 |
CPolicyServer::ENotSupported,
|
|
1114 |
11,
|
|
1115 |
CPolicyServer::ENotSupported,
|
|
1116 |
11,
|
|
1117 |
CPolicyServer::ENotSupported,
|
|
1118 |
12,
|
|
1119 |
CPolicyServer::ENotSupported,
|
|
1120 |
12,
|
|
1121 |
CPolicyServer::ENotSupported,
|
|
1122 |
14,
|
|
1123 |
CPolicyServer::ENotSupported,
|
|
1124 |
14,
|
|
1125 |
CPolicyServer::ENotSupported,
|
|
1126 |
0,
|
|
1127 |
CPolicyServer::ENotSupported,
|
|
1128 |
0,
|
|
1129 |
CPolicyServer::ENotSupported,
|
|
1130 |
3,
|
|
1131 |
CPolicyServer::ENotSupported,
|
|
1132 |
3,
|
|
1133 |
CPolicyServer::ENotSupported,
|
|
1134 |
4,
|
|
1135 |
CPolicyServer::ENotSupported,
|
|
1136 |
4,
|
|
1137 |
CPolicyServer::ENotSupported,
|
|
1138 |
9,
|
|
1139 |
CPolicyServer::ENotSupported,
|
|
1140 |
9,
|
|
1141 |
CPolicyServer::ENotSupported,
|
|
1142 |
11,
|
|
1143 |
CPolicyServer::ENotSupported,
|
|
1144 |
11,
|
|
1145 |
CPolicyServer::ENotSupported,
|
|
1146 |
5,
|
|
1147 |
CPolicyServer::ENotSupported,
|
|
1148 |
5,
|
|
1149 |
CPolicyServer::ENotSupported,
|
|
1150 |
12,
|
|
1151 |
CPolicyServer::ENotSupported,
|
|
1152 |
12,
|
|
1153 |
CPolicyServer::ENotSupported,
|
|
1154 |
12,
|
|
1155 |
CPolicyServer::ENotSupported,
|
|
1156 |
14,
|
|
1157 |
CPolicyServer::ENotSupported,
|
|
1158 |
14,
|
|
1159 |
CPolicyServer::ENotSupported,
|
|
1160 |
13,
|
|
1161 |
CPolicyServer::ENotSupported,
|
|
1162 |
13,
|
|
1163 |
CPolicyServer::ENotSupported,
|
|
1164 |
1,
|
|
1165 |
CPolicyServer::ENotSupported,
|
|
1166 |
1,
|
|
1167 |
CPolicyServer::ENotSupported,
|
|
1168 |
7,
|
|
1169 |
CPolicyServer::ENotSupported,
|
|
1170 |
7,
|
|
1171 |
CPolicyServer::ENotSupported,
|
|
1172 |
8,
|
|
1173 |
CPolicyServer::ENotSupported,
|
|
1174 |
8,
|
|
1175 |
CPolicyServer::ENotSupported,
|
|
1176 |
9,
|
|
1177 |
CPolicyServer::ENotSupported,
|
|
1178 |
9,
|
|
1179 |
CPolicyServer::ENotSupported,
|
|
1180 |
CPolicyServer::ECustomCheck,
|
|
1181 |
CPolicyServer::ENotSupported,
|
|
1182 |
};
|
|
1183 |
|
|
1184 |
|
|
1185 |
const CPolicyServer::TPolicyElement CTelServer::iElements[] =
|
|
1186 |
{
|
|
1187 |
{ _INIT_SECURITY_POLICY_C1( ECapabilityNetworkControl), CPolicyServer::EFailClient},
|
|
1188 |
{ _INIT_SECURITY_POLICY_C2( ECapabilityNetworkControl, ECapabilityNetworkServices), CPolicyServer::EFailClient},
|
|
1189 |
{ _INIT_SECURITY_POLICY_C3( ECapabilityNetworkControl, ECapabilityNetworkServices, ECapabilityWriteDeviceData), CPolicyServer::EFailClient},
|
|
1190 |
{ _INIT_SECURITY_POLICY_C2( ECapabilityNetworkControl, ECapabilityReadDeviceData), CPolicyServer::EFailClient},
|
|
1191 |
{ _INIT_SECURITY_POLICY_C2( ECapabilityNetworkControl, ECapabilityWriteDeviceData), CPolicyServer::EFailClient},
|
|
1192 |
{ _INIT_SECURITY_POLICY_C1( ECapabilityNetworkServices), CPolicyServer::EFailClient},
|
|
1193 |
{ _INIT_SECURITY_POLICY_C2( ECapabilityNetworkServices, ECapabilityReadDeviceData), CPolicyServer::EFailClient},
|
|
1194 |
{ _INIT_SECURITY_POLICY_C3( ECapabilityNetworkServices, ECapabilityReadDeviceData, ECapabilityWriteDeviceData), CPolicyServer::EFailClient},
|
|
1195 |
{ _INIT_SECURITY_POLICY_C2( ECapabilityNetworkServices, ECapabilityReadUserData), CPolicyServer::EFailClient},
|
|
1196 |
{ _INIT_SECURITY_POLICY_C2( ECapabilityNetworkServices, ECapabilityWriteDeviceData), CPolicyServer::EFailClient},
|
|
1197 |
{ _INIT_SECURITY_POLICY_C2( ECapabilityNetworkServices, ECapabilityWriteUserData), CPolicyServer::EFailClient},
|
|
1198 |
{ _INIT_SECURITY_POLICY_C1( ECapability_None), CPolicyServer::EFailClient},
|
|
1199 |
{ _INIT_SECURITY_POLICY_C1( ECapabilityReadDeviceData), CPolicyServer::EFailClient},
|
|
1200 |
{ _INIT_SECURITY_POLICY_C1( ECapabilityReadUserData), CPolicyServer::EFailClient},
|
|
1201 |
{ _INIT_SECURITY_POLICY_C1( ECapabilityWriteDeviceData), CPolicyServer::EFailClient},
|
|
1202 |
{ _INIT_SECURITY_POLICY_C1( ECapabilityWriteUserData), CPolicyServer::EFailClient},
|
|
1203 |
};
|
|
1204 |
|
|
1205 |
|
|
1206 |
const CPolicyServer::TPolicy CTelServer::iPolicy =
|
|
1207 |
{
|
|
1208 |
CPolicyServer::EAlwaysPass,
|
|
1209 |
iRangeCount,
|
|
1210 |
iRanges,
|
|
1211 |
iElementsIndex,
|
|
1212 |
iElements
|
|
1213 |
};
|