original files of m241
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipcom_waitif.h,v $ $Revision: 1.1.118.3 $
|
||||
* $Source: /home/interpeak/CVSRoot/ipcom/include/ipcom_waitif.h,v $
|
||||
* $Author: zluo0 $ $Date: 2012-02-03 09:50:30 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IPCOM_WAITIF_H
|
||||
#define IPCOM_WAITIF_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* ipcom_waitif_address
|
||||
*===========================================================================
|
||||
* Description: check interface enabled dhcp to get an IP address assigned.
|
||||
* Parameters:
|
||||
* Returns: 0 = success, -1 = error, and sets errno.
|
||||
*
|
||||
*/
|
||||
IP_PUBLIC int
|
||||
ipcom_waitif_address();
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* ipcom_waitif
|
||||
*===========================================================================
|
||||
* Description: Wait for interface to get an IP address assigned.
|
||||
* Parameters: ifindex - Index of the interface to wait for.
|
||||
* 0 = any interface except loopback.
|
||||
* domain - The address domain.
|
||||
* Returns: 0 = success, -1 = error, and sets errno.
|
||||
*
|
||||
*/
|
||||
IP_PUBLIC int
|
||||
ipcom_waitif(int ifindex, int domain);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user