142 lines
3.3 KiB
C
142 lines
3.3 KiB
C
/* ipmipmn_reg.h - ipmipmn_reg.h */
|
|
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipmn_api_reg.h,v $ $Revision: 1.3 $
|
|
* $Source: /home/interpeak/CVSRoot/ipmipmn/include/private/ipmipmn_api_reg.h,v $
|
|
* $Author: jhorteli $ $Date: 2009-04-01 18:34:38 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Joel Hortelius <joel.hortelius@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPMIPMN_API_REG_H
|
|
#define IPMIPMN_API_REG_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
/*
|
|
DESCRIPTION
|
|
|
|
No description currently provided
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
struct Ipmipmn_api_context;
|
|
struct Ipmipmn_api_node;
|
|
struct Ipmip_proc;
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*******************************************************************************
|
|
*
|
|
* ipmipmn_api_reg_output - ipmipmn_api_reg_output
|
|
*
|
|
* Send a registration request
|
|
*
|
|
* Parameters:
|
|
* \is
|
|
* \i data
|
|
* Context
|
|
* \i proc
|
|
* Process
|
|
* \i node
|
|
* Current node
|
|
* \i resend
|
|
* Is it a resend
|
|
* \i deregister
|
|
* Is it a de-registration.
|
|
* \ie
|
|
*
|
|
* RETURNS: No return value
|
|
*
|
|
* ERRNO:
|
|
*
|
|
* \NOMANUAL
|
|
*/
|
|
IP_GLOBAL void ipmipmn_api_reg_output
|
|
(
|
|
struct Ipmipmn_api_context *data,
|
|
struct Ipmip_proc *proc,
|
|
struct Ipmipmn_api_node *node,
|
|
int resend,
|
|
Ip_bool deregister
|
|
);
|
|
|
|
/*******************************************************************************
|
|
*
|
|
* ipmipmn_api_reg_recv - ipmipmn_api_reg_recv
|
|
*
|
|
* Handles registration request and reply packages.
|
|
*
|
|
* Parameters:
|
|
* \is
|
|
* \i data
|
|
* Context
|
|
* \i proc
|
|
* Current process.
|
|
* \i pbuf
|
|
* Packet buffer
|
|
* \ie
|
|
*
|
|
* RETURNS: No return value
|
|
*
|
|
* ERRNO:
|
|
*
|
|
* \NOMANUAL
|
|
*/
|
|
IP_GLOBAL void ipmipmn_api_reg_recv
|
|
(
|
|
struct Ipmipmn_api_context *data,
|
|
struct Ipmip_proc *proc,
|
|
Ipmipmn_api_pktbuf_t *pbuf
|
|
);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|