diff options
Diffstat (limited to 'include/netutils/ifc.h')
-rw-r--r-- | include/netutils/ifc.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/netutils/ifc.h b/include/netutils/ifc.h index 1f5421dd7..2d49a8758 100644 --- a/include/netutils/ifc.h +++ b/include/netutils/ifc.h @@ -31,9 +31,6 @@ extern int ifc_get_hwaddr(const char *name, void *ptr); extern int ifc_up(const char *name); extern int ifc_down(const char *name); -extern int ifc_enable(const char *ifname); -extern int ifc_disable(const char *ifname); - #define RESET_IPV4_ADDRESSES 0x01 #define RESET_IPV6_ADDRESSES 0x02 #define RESET_ALL_ADDRESSES (RESET_IPV4_ADDRESSES | RESET_IPV6_ADDRESSES) @@ -49,19 +46,8 @@ extern int ifc_set_prefixLength(const char *name, int prefixLength); extern int ifc_set_hwaddr(const char *name, const void *ptr); extern int ifc_clear_addresses(const char *name); -/* This function is deprecated. Use ifc_add_route instead. */ -extern int ifc_add_host_route(const char *name, in_addr_t addr); -extern int ifc_remove_host_routes(const char *name); -extern int ifc_get_default_route(const char *ifname); -/* This function is deprecated. Use ifc_add_route instead */ -extern int ifc_set_default_route(const char *ifname, in_addr_t gateway); -/* This function is deprecated. Use ifc_add_route instead */ extern int ifc_create_default_route(const char *name, in_addr_t addr); extern int ifc_remove_default_route(const char *ifname); -extern int ifc_add_route(const char *name, const char *addr, int prefix_length, - const char *gw); -extern int ifc_remove_route(const char *ifname, const char *dst, - int prefix_length, const char *gw); extern int ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength, unsigned *flags); |