/* ipmipha_reg.h - ipmipha_reg.h */ /* ****************************************************************************** * HEADER FILE * * Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipha_reg.h,v $ $Revision: 1.8 $ * $Source: /home/interpeak/CVSRoot/ipmipha/src/ipmipha_reg.h,v $ * $Author: jhorteli $ $Date: 2009-04-23 14:24:35 $ * $State: Exp $ $Locker: $ * * INTERPEAK_COPYRIGHT_STRING * Design and implementation by Joel Hortelius ****************************************************************************** */ #ifndef IPMIPHA_REG_H #define IPMIPHA_REG_H /* **************************************************************************** * 1 DESCRIPTION **************************************************************************** */ /* DESCRIPTION No description currently provided */ /* **************************************************************************** * 2 CONFIGURATION **************************************************************************** */ /* **************************************************************************** * 3 INCLUDE FILES **************************************************************************** */ #ifdef __cplusplus extern "C" { #endif /* **************************************************************************** * 4 DEFINES **************************************************************************** */ /* **************************************************************************** * 5 TYPES **************************************************************************** */ struct Ipmipha_data; struct Ipmip_proc; struct Ipmipha_node; struct Ipmipha_node_binding; struct Ipmipha_pktbuf; /* **************************************************************************** * 6 FUNCTIONS **************************************************************************** */ /******************************************************************************* * * ipmipha_reg_revoke_request - ipmipha_reg_revoke_request * * Send a revocation request for this particular binding * * Parameters: * \is * \i data * Data * \i proc * Process * \i node * Node * \i binding * Binding * \ie * * RETURNS: IP_TRUE if successful * * ERRNO: * * \NOMANUAL */ IP_GLOBAL Ip_bool ipmipha_reg_revoke_request ( struct Ipmipha_data *data, struct Ipmip_proc *proc, struct Ipmipha_node *node, struct Ipmipha_node_binding *binding ); /******************************************************************************* * * ipmipha_reg_request_process - ipmipha_reg_request_process * * Process a container stage * * Parameters: * \is * \i event * Timer event * \i data * Context * \i proc * Current process * \i pbuf * The packet buffer * \i node * The node * \ie * * RETURNS: IP_FALSE * * ERRNO: * * \NOMANUAL */ IP_GLOBAL int ipmipha_reg_request_process ( int event, struct Ipmipha_data *data, struct Ipmip_proc *proc, struct Ipmipha_pktbuf *pbuf, struct Ipmipha_node *node ); /******************************************************************************* * * ipmipha_reg_input_parse_request - ipmipha_reg_input_parse_request * * Parses basic values in a registration request. * * Parameters: * \is * \i data * Data context * \i proc * Process * \i pbuf * Packet buffer. * \ie * * RETURNS: IP_TRUE on success * * ERRNO: * * \NOMANUAL */ IP_GLOBAL Ip_bool ipmipha_reg_input_parse_request ( struct Ipmipha_data *data, struct Ipmip_proc *proc, struct Ipmipha_pktbuf *pbuf ); /******************************************************************************* * * ipmipha_reg_recv - ipmipha_reg_recv * * Handles registration request packages. * * Parameters: * \is * \i data * Context * \i proc * Current process. * \i pbuf * Packet buffer * \ie * * RETURNS: No return value * * ERRNO: * * \NOMANUAL */ IP_GLOBAL void ipmipha_reg_recv ( struct Ipmipha_data *data, struct Ipmip_proc *proc, struct Ipmipha_pktbuf *pbuf, void *arg ); #ifdef __cplusplus } #endif #endif /* **************************************************************************** * END OF FILE **************************************************************************** */