Files
m241Neelima/components/ip_net2-6.9/ipmipha/src/ipmipha_agent.h
T
2026-07-30 11:19:44 +05:30

144 lines
3.4 KiB
C

/* ipmipha_agent.h - ipmipha_agent.h */
/*
******************************************************************************
* HEADER FILE
*
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipha_agent.h,v $ $Revision: 1.5 $
* $Source: /home/interpeak/CVSRoot/ipmipha/src/ipmipha_agent.h,v $
* $Author: jhorteli $ $Date: 2009-04-01 18:33:43 $
* $State: Exp $ $Locker: $
*
* INTERPEAK_COPYRIGHT_STRING
* Design and implementation by Joel Hortelius <joel.hortelius@interpeak.se>
******************************************************************************
*/
#ifndef IPMIPHA_AGENT_H
#define IPMIPHA_AGENT_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_iff;
struct Ipmipha_pktbuf;
/*
****************************************************************************
* 6 FUNCTIONS
****************************************************************************
*/
/*******************************************************************************
*
* ipmipha_agent_advert_output - ipmipha_agent_advert_output
*
* Write an ordinary multicast/unicast advertisement
*
* Parameters:
* \is
* \i data
* Context
* \i proc
* Process
* \i iff
* The interface to send the advertisment from.
* \i dst
* If specified, unicast dst address
* \i lladdr
* If specified, unicast LLA address
* \ie
*
* RETURNS: No return value
*
* ERRNO:
*
* \NOMANUAL
*/
IP_GLOBAL void ipmipha_agent_advert_output
(
struct Ipmipha_data *data,
struct Ipmip_proc *proc,
struct Ipmipha_iff *iff,
Ip_addr4 *dst,
Ipmip_lladdr_t *lladdr
);
/*******************************************************************************
*
* ipmipha_adv_recv - ipmipha_adv_recv
*
* Handles incoming advertisements or solicitations
*
* Parameters:
* \is
* \i data
* Context
* \i proc
* Current process.
* \i pbuf
* Packet buffer
* \ie
*
* RETURNS: No return value
*
* ERRNO:
*
* \NOMANUAL
*/
IP_GLOBAL void ipmipha_adv_recv
(
struct Ipmipha_data *data,
struct Ipmip_proc *proc,
struct Ipmipha_pktbuf *pbuf
);
#ifdef __cplusplus
}
#endif
#endif
/*
****************************************************************************
* END OF FILE
****************************************************************************
*/