equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-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 // ip6_rth.h - default hook for IPv6 routing header |
|
15 // The default handler for IPv6 Routing Header which is implicitly |
|
16 // bound to the protocol processing loop by the ip6.cpp. Only only |
|
17 // Routing Header with Type=0 is processed, others are left |
|
18 // untouched. |
|
19 // |
|
20 |
|
21 |
|
22 |
|
23 /** |
|
24 @internalComponent |
|
25 */ |
|
26 #ifndef __IP6_RTH_H__ |
|
27 #define __IP6_RTH_H__ |
|
28 |
|
29 #include <in_bind.h> |
|
30 |
|
31 class CRoutingHeaderHook : public CIp6Hook |
|
32 { |
|
33 public: |
|
34 CRoutingHeaderHook(MNetworkService *aProtocol) : iProtocol(aProtocol) {} |
|
35 void ConstructL(); |
|
36 TInt ApplyL(RMBufHookPacket &aPacket, RMBufRecvInfo &aInfo); |
|
37 private: |
|
38 MNetworkService *iProtocol; |
|
39 }; |
|
40 |
|
41 #endif |