*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> krb5_get_all_client_addrs (3)              



NAME    [Toc]    [Back]

     krb5_get_all_client_addrs, krb5_get_all_server_addrs -- return local

LIBRARY    [Toc]    [Back]

     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS    [Toc]    [Back]

     #include <krb5.h>

     krb5_get_all_client_addrs(krb5_context context, krb5_addresses *addrs);

     krb5_get_all_server_addrs(krb5_context context, krb5_addresses *addrs);

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]


                                 July 1, 2001
[ Back ]
 Similar pages
Name OS Title
inet6_rth_segments Tru64 Return the number of segments (addresses) in an IPv6 Routing header
tt_file_netfile HP-UX map between local and canonical pathnames on the local host
tt_netfile_file HP-UX map between canonical and local pathnames on the local host
getifaddrs OpenBSD get interface addresses
freeifaddrs OpenBSD get interface addresses
freeifaddrs FreeBSD get interface addresses
getifaddrs FreeBSD get interface addresses
freeifaddrs NetBSD get interface addresses
getifaddrs NetBSD get interface addresses
krb5_print_address FreeBSD mange addresses in Kerberos.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service