3 * Copyright (C) James R. Leu 2002
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
10 #ifndef _MPLS_IFMGR_IMPL_H_
11 #define _MPLS_IFMGR_IMPL_H_
13 #include "mpls_struct.h"
14 #include "mpls_handle_type.h"
18 * return: mpls_ifmgr_handle
20 extern mpls_ifmgr_handle
mpls_ifmgr_open(const mpls_instance_handle handle
,
21 const mpls_cfg_handle cfg
);
26 extern void mpls_ifmgr_close(const mpls_ifmgr_handle handle
);
31 * return: mpls_return_enum
33 extern mpls_return_enum
mpls_ifmgr_get_mtu(const mpls_ifmgr_handle
,
34 const mpls_if_handle iff
, int *mtu
);
37 * in: handle,iff,name,size
39 * return: mpls_return_enum
41 extern mpls_return_enum
mpls_ifmgr_get_name(const mpls_ifmgr_handle
,
42 const mpls_if_handle iff
, char *name
, int len
);
45 * in: handle, handle, addr
46 * return: mpls_return_enum
48 extern mpls_return_enum
mpls_ifmgr_getfirst_address(const mpls_ifmgr_handle
,
49 mpls_if_handle
*, mpls_inet_addr
*);
52 * in: handle, handle, addr
53 * return: mpls_return_enum
55 extern mpls_return_enum
mpls_ifmgr_getnext_address(const mpls_ifmgr_handle
,
56 mpls_if_handle
*, mpls_inet_addr
*);