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 // Defines the Class that adds and extracts specific header tags. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 */ |
|
21 |
|
22 #ifdef RAWIP_HEADER_APPENDED_TO_PACKETS |
|
23 |
|
24 #ifndef IPTAGHEADER_H__ |
|
25 #define IPTAGHEADER_H__ |
|
26 |
|
27 #include "bttlog.h" |
|
28 #include "Constants.h" |
|
29 #include <nifmbuf.h> |
|
30 |
|
31 class CBttLogger; |
|
32 |
|
33 class CIPTagHeader : public CBase |
|
34 { |
|
35 public: |
|
36 CIPTagHeader(CBttLogger* aTheLogger); |
|
37 ~CIPTagHeader(); |
|
38 void SetType(TUint16 aType); |
|
39 void AddHeader(TDes8& aDes); |
|
40 TUint16 RemoveHeader(RMBufChain& aPdu); |
|
41 |
|
42 private: // Unowned data. |
|
43 CBttLogger* iTheLogger; |
|
44 |
|
45 //CLASSNAMEDECL(CIPTagHeader); |
|
46 |
|
47 TBuf8<KIPTagHeaderLength> iHeaderByte; // Owned |
|
48 }; |
|
49 |
|
50 #endif // IPTAGHEADER_H__ |
|
51 |
|
52 #endif // RAWIP_HEADER_APPENDED_TO_PACKETS |
|