92 lines
3.0 KiB
C
92 lines
3.0 KiB
C
|
|
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmip6ha_icmp.h,v $ $Revision: 1.2 $
|
|
* $Source: /home/interpeak/CVSRoot/ipmip6ha/src/ipmip6ha_icmp.h,v $
|
|
* $Author: jhorteli $ $Date: 2009-02-09 15:46:08 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Joel Hortelius <joel.hortelius@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPMIP6HA_ICMP_H
|
|
#define IPMIP6HA_ICMP_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
struct Ipmip6_address;
|
|
struct Ipmip6ha_context;
|
|
struct Ipmip_proc;
|
|
struct Ipmip6ha_pktbuf;
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
*===========================================================================
|
|
* ipmip6ha_icmp_dispatch
|
|
*===========================================================================
|
|
* Description: Process an ICMP packet.
|
|
* Parameters: context - The context.
|
|
* icmp - The ICMP packet
|
|
* icmp_len - The length of the ICMP packet.
|
|
* pktinfo - Packet info.
|
|
* src - The sender
|
|
* salist - List of SA's processed
|
|
* rthdr2 - Did this ICMP frame contain a RTHDR2.
|
|
* Returns: IP_TRUE if successfully processed.
|
|
*
|
|
*/
|
|
IP_GLOBAL Ip_bool ipmip6ha_icmp_dispatch(struct Ipmip6ha_context *ctx,
|
|
struct Ipmip_proc *proc,
|
|
struct Ipmip6ha_pktbuf *pbuf);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|