inetcfg.spec revision f808c858fa61e7769218966759510a8b1190dfcf
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#ident "%Z%%M% %I% %E% SMI"
#
function icfg_errmsg
declaration const char *icfg_errmsg(int index)
end
function icfg_open
declaration int icfg_open(icfg_handle_t *handle, \
end
function icfg_close
declaration void icfg_close(icfg_handle_t handle)
end
function icfg_set_tunnel_dest
declaration int icfg_set_tunnel_dest(icfg_handle_t handle, \
end
function icfg_set_tunnel_src
declaration int icfg_set_tunnel_src(icfg_handle_t handle, \
end
function icfg_set_tunnel_hoplimit
declaration int icfg_set_tunnel_hoplimit(icfg_handle_t handle, \
uint8_t limit)
end
function icfg_set_tunnel_encaplimit
declaration int icfg_set_tunnel_encaplimit(icfg_handle_t handle, \
int16_t limit)
end
function icfg_get_tunnel_dest
declaration int icfg_get_tunnel_dest(icfg_handle_t handle, \
end
function icfg_get_tunnel_src
declaration int icfg_get_tunnel_src(icfg_handle_t handle, \
end
function icfg_get_tunnel_hoplimit
declaration int icfg_get_tunnel_hoplimit(icfg_handle_t handle, \
uint8_t *limit)
end
function icfg_get_tunnel_encaplimit
declaration int icfg_get_tunnel_encaplimit(icfg_handle_t handle, \
int16_t *limit)
end
function icfg_get_tunnel_lower
declaration int icfg_get_tunnel_lower(icfg_handle_t handle, \
int *protocol)
end
function icfg_get_tunnel_upper
declaration int icfg_get_tunnel_upper(icfg_handle_t handle, \
int *protocol)
end
function icfg_refresh_tunnel_cache
declaration int icfg_refresh_tunnel_cache(icfg_handle_t handle)
end
function icfg_set_flags
declaration int icfg_set_flags(icfg_handle_t handle, uint64_t flags)
end
function icfg_set_metric
declaration int icfg_set_metric(icfg_handle_t handle, int metric)
end
function icfg_set_mtu
declaration int icfg_set_mtu(icfg_handle_t handle, uint_t mtu)
end
function icfg_set_index
declaration int icfg_set_index(icfg_handle_t handle, int index)
end
function icfg_set_netmask
declaration int icfg_set_netmask(icfg_handle_t handle, \
const struct sockaddr_in *addr)
end
function icfg_set_broadcast
declaration int icfg_set_broadcast(icfg_handle_t handle, \
const struct sockaddr_in *addr)
end
function icfg_set_prefixlen
declaration int icfg_set_prefixlen(icfg_handle_t handle, int prefixlen)
end
function icfg_set_addr
declaration int icfg_set_addr(icfg_handle_t handle, \
end
function icfg_set_token
declaration int icfg_set_token(icfg_handle_t handle, \
const struct sockaddr_in6 *addr, int prefixlen)
end
function icfg_set_subnet
declaration int icfg_set_subnet(icfg_handle_t handle, \
int prefixlen)
end
function icfg_set_dest_addr
declaration int icfg_set_dest_addr(icfg_handle_t handle, \
end
function icfg_get_addr
declaration int icfg_get_addr(icfg_handle_t handle, struct sockaddr *addr,\
end
function icfg_get_token
declaration int icfg_get_token(icfg_handle_t handle, \
struct sockaddr_in6 *addr, int *prefixlen, boolean_t force)
end
function icfg_get_subnet
declaration int icfg_get_subnet(icfg_handle_t handle, \
end
function icfg_get_netmask
declaration int icfg_get_netmask(icfg_handle_t handle, \
struct sockaddr_in *addr)
end
function icfg_get_broadcast
declaration int icfg_get_broadcast(icfg_handle_t handle, \
struct sockaddr_in *addr)
end
function icfg_get_dest_addr
declaration int icfg_get_dest_addr(icfg_handle_t handle, \
end
function icfg_get_groupname
declaration int icfg_get_groupname(icfg_handle_t handle, \
end
function icfg_get_flags
declaration int icfg_get_flags(icfg_handle_t handle, \
end
function icfg_get_metric
declaration int icfg_get_metric(icfg_handle_t handle, int *metric)
end
function icfg_get_mtu
declaration int icfg_get_mtu(icfg_handle_t handle, uint_t *mtu)
end
function icfg_get_index
declaration int icfg_get_index(icfg_handle_t handle, int *index)
end
function icfg_get_if_list
declaration int icfg_get_if_list(icfg_if_t **if_list, int *numif, \
int proto, int type)
end
function icfg_free_if_list
declaration void icfg_free_if_list(icfg_if_t *if_list)
end
function icfg_iterate_if
declaration int icfg_iterate_if(int proto, int type, void *arg, \
end
function icfg_is_logical
end
function icfg_sockaddr_to_str
declaration int icfg_sockaddr_to_str(sa_family_t af, \
end
function icfg_str_to_sockaddr
declaration int icfg_str_to_sockaddr(sa_family_t af, const char *straddr, \
end