epoc32/include/in_hdr.h
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // in_hdr.h - IPv6 header structure
       
    15 // Defines the basic classes for accessing the header
       
    16 // structures within IPv6 packets.
       
    17 //
       
    18 
       
    19 
       
    20 
       
    21 /**
       
    22  @publishedAll
       
    23  @deprecated
       
    24 */
       
    25 
       
    26 #ifndef __IN_HDR_H__
       
    27 #define __IN_HDR_H__
       
    28 
       
    29 #include <e32std.h>
       
    30 
       
    31 //
       
    32 // TInet6HeaderBase
       
    33 //	A base class for headers.
       
    34 //
       
    35 //	Currently no declarations, just here ready for potential need
       
    36 //
       
    37 //class TInet6HeaderBase
       
    38 //	{
       
    39 //private:
       
    40 	//
       
    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!!
       
    46 	//
       
    47 	// Every derived class must implement the following methods
       
    48 	// (These are compile time constants)
       
    49 	//
       
    50 //	static TInt MinHeaderLength();
       
    51 //	static TInt MaxHeaderLength();
       
    52 
       
    53 	// Actual header length (based on on dynamic information
       
    54 	// retrieved from the successfully mapped header).
       
    55 	//					
       
    56 //	TInt HeaderLength();
       
    57 	//
       
    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.
       
    61 //	};
       
    62 
       
    63 #endif