netbsd man page for krb5_get_all_client_addrs

Query: krb5_get_all_client_addrs

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KRB5_GET_ADDRS(3)					   BSD Library Functions Manual 					 KRB5_GET_ADDRS(3)

NAME
krb5_get_all_client_addrs, krb5_get_all_server_addrs -- return local addresses
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
#include <krb5/krb5.h> krb5_error_code krb5_get_all_client_addrs(krb5_context context, krb5_addresses *addrs); krb5_error_code krb5_get_all_server_addrs(krb5_context context, krb5_addresses *addrs);
DESCRIPTION
These functions return in addrs a list of addresses associated with the local host. The server variant returns all configured interface addresses (if possible), including loop-back addresses. This is useful if you want to create sockets to listen to. The client version will also scan local interfaces (can be turned off by setting libdefaults/scan_interfaces to false in krb5.conf), but will not include loop-back addresses, unless there are no other addresses found. It will remove all addresses included in libdefaults/ignore_addresses but will unconditionally include addresses in libdefaults/extra_addresses. The returned addresses should be freed by calling krb5_free_addresses().
SEE ALSO
krb5_free_addresses(3)
BSD
July 1, 2001 BSD
Related Man Pages
krb5_add_et_list(3) - netbsd
krb5_add_extra_addresses(3) - netbsd
krb5_free_config_files(3) - netbsd
krb5_get_extra_addresses(3) - netbsd
krb5_init_context(3) - netbsd
Similar Topics in the Unix Linux Community
sorting left-justified numeric values
Adding a List of Times
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD
Grep command to show the number of results