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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // in_hdr.h - IPv6 header structure
15 // Defines the basic classes for accessing the header
16 // structures within IPv6 packets.
33 // A base class for headers.
35 // Currently no declarations, just here ready for potential need
37 //class TInet6HeaderBase
41 // The following methods are "private" on purpose. They only
42 // document what derived class should implement, and cause an
43 // error message at compile time when a method is used, but
44 // not declared in the derived class. There is NO IMPLEMENTATION
45 // for these in this base class!!
47 // Every derived class must implement the following methods
48 // (These are compile time constants)
50 // static TInt MinHeaderLength();
51 // static TInt MaxHeaderLength();
53 // Actual header length (based on on dynamic information
54 // retrieved from the successfully mapped header).
56 // TInt HeaderLength();
58 // There is no need for a method accessing the offset to the
59 // beginning of payload data. This offset is *ALWAYS* same as
60 // HeaderLength(). It includes the padding, if any is required.