100 lines
2.9 KiB
C
100 lines
2.9 KiB
C
/* ipmip4_pktbuf.h - ipmip4_pktbuf.h */
|
|
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmip4_pktbuf.h,v $ $Revision: 1.2 $
|
|
* $Source: /home/interpeak/CVSRoot/ipmip4/include/private/ipmip4_pktbuf.h,v $
|
|
* $Author: jhorteli $ $Date: 2010-12-07 09:55:10 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Joel Hortelius <joel.hortelius@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPMIP4_PKTBUF_H
|
|
#define IPMIP4_PKTBUF_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
* Packet buffer base class, which is usually overloaded by the various
|
|
* mobile agents and nodes in order to contain instantiation specific
|
|
* information.
|
|
*/
|
|
/*
|
|
DESCRIPTION
|
|
|
|
Packet buffer base class, which is usually overloaded by the various
|
|
mobile agents and nodes in order to contain instantiation specific
|
|
information.
|
|
|
|
This header file defines the IPMIP4 overloaded packet buffer. For examples
|
|
and more extensive explanation, see ipmip_pktbuf.h
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#include <private/ipmip_pktbuf.h>
|
|
|
|
#include <private/ipmip4_msgext.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
union Ipmip4_pktbuf_ext
|
|
{
|
|
Ipmip4_msgext_icmp_t icmp;
|
|
Ipmip4_msgext_mobile_t mobile;
|
|
};
|
|
|
|
typedef struct Ipmip4_pktbuf
|
|
{
|
|
Ipmip_pktbuf_t ipmip;
|
|
union Ipmip4_pktbuf_ext ext;
|
|
} Ipmip4_pktbuf_t;
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|