24
|
1 |
// Copyright (c) 2004-2010 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 |
// RawIp.iby
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#ifndef __RAWIP_IBY__
|
|
19 |
#define __RAWIP_IBY__
|
|
20 |
|
|
21 |
#include <packetlogger.iby>
|
|
22 |
|
|
23 |
// The default BCA is C32, but may be replaced by another BCA if desired
|
|
24 |
#include <c32bca.iby>
|
|
25 |
|
|
26 |
#ifdef _DEBUG
|
|
27 |
|
|
28 |
#ifdef _ZERO_COPY_NETWORKING
|
|
29 |
ECOM_PLUGIN_UDEB(rawip2.dll,10286AF7.rss)
|
|
30 |
#else
|
|
31 |
ECOM_PLUGIN_UDEB(rawip.dll,10281C4E.rss)
|
|
32 |
#endif //_ZERO_COPY_NETWORKING
|
|
33 |
|
|
34 |
#else
|
|
35 |
|
|
36 |
#ifdef _ZERO_COPY_NETWORKING
|
|
37 |
ECOM_PLUGIN(rawip2.dll,10286AF7.rss)
|
|
38 |
#else
|
|
39 |
ECOM_PLUGIN(rawip.dll,10281C4E.rss)
|
|
40 |
#endif //_ZERO_COPY_NETWORKING
|
|
41 |
|
|
42 |
#endif // _DEBUG
|
|
43 |
|
|
44 |
#ifdef _ZERO_COPY_NETWORKING
|
|
45 |
// patch data for CBcaController::BaseConstructL API
|
|
46 |
patchdata rawip2.dll@KMaxSendQueueLen 0x5
|
|
47 |
patchdata rawip2.dll@KMaxTxIPPacketSize 0x57a
|
|
48 |
patchdata rawip2.dll@KMaxRxIPPacketSize 0x57a
|
|
49 |
// patch data for IPv4Binder
|
|
50 |
patchdata rawip2.dll@KMtuIPv4 0x578 // KMaxTxIPPacketSize - 2, where IP tag header = 2
|
|
51 |
patchdata rawip2.dll@KRMtuIPv4 0x578 // KMaxRxIPPacketSize - 2
|
|
52 |
// patch data for IPv6Binder
|
|
53 |
patchdata rawip2.dll@KMtuIPv6 0x578 // KMaxTxIPPacketSize - 2
|
|
54 |
patchdata rawip2.dll@KRMtuIPv6 0x578 // KMaxRxIPPacketSize - 2
|
|
55 |
#else
|
|
56 |
// patch data for CBcaController::BaseConstructL API
|
|
57 |
patchdata rawip.dll@KMaxSendQueueLen 0x5
|
|
58 |
patchdata rawip.dll@KMaxTxIPPacketSize 0x57a
|
|
59 |
patchdata rawip.dll@KMaxRxIPPacketSize 0x57a
|
|
60 |
// patch data for IPv4Binder
|
|
61 |
patchdata rawip.dll@KMtuIPv4 0x578 // KMaxTxIPPacketSize - 2, where IP tag header = 2
|
|
62 |
patchdata rawip.dll@KRMtuIPv4 0x578 // KMaxRxIPPacketSize - 2
|
|
63 |
// patch data for IPv6Binder
|
|
64 |
patchdata rawip.dll@KMtuIPv6 0x578 // KMaxTxIPPacketSize - 2
|
|
65 |
patchdata rawip.dll@KRMtuIPv6 0x578 // KMaxRxIPPacketSize - 2
|
|
66 |
#endif //_ZERO_COPY_NETWORKING
|
|
67 |
|
|
68 |
#endif // __RAWIP_IBY__
|
|
69 |
|