
KRB5_GET_ADDRS(3)          UNIX Programmer's Manual          KRB5_GET_ADDRS(3)

NNAAMMEE
     kkrrbb55__ggeett__aallll__cclliieenntt__aaddddrrss, kkrrbb55__ggeett__aallll__sseerrvveerr__aaddddrrss - return local ad-
     dresses

LLIIBBRRAARRYY
     Kerberos 5 Library (libkrb5, -lkrb5)

SSYYNNOOPPSSIISS
     _k_r_b_5___e_r_r_o_r___c_o_d_e
     kkrrbb55__ggeett__aallll__cclliieenntt__aaddddrrss(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___a_d_d_r_e_s_s_e_s _*_a_d_d_r_s)

     _k_r_b_5___e_r_r_o_r___c_o_d_e
     kkrrbb55__ggeett__aallll__sseerrvveerr__aaddddrrss(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___a_d_d_r_e_s_s_e_s _*_a_d_d_r_s)

DDEESSCCRRIIPPTTIIOONN
     These functions return in _a_d_d_r_s a list of addresses associated with the
     local host.

     The server variant returns all configured interface addresses (if possi-
     ble), 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 _k_r_b_5_._c_o_n_f), 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 kkrrbb55__ffrreeee__aaddddrreesssseess().

SSEEEE AALLSSOO
     krb5_free_addresses(3)

 HEIMDAL                         July 1, 2001                                1
