2 * copyright (c) 2001-2014 Emil Mikulic.
4 * localip.h: determine the local IPs of an interface
6 * You may use, modify and redistribute this file under the terms of the
7 * GNU General Public License version 2. (see COPYING.GPL)
9 #ifndef __DARKSTAT_LOCALIP_H
10 #define __DARKSTAT_LOCALIP_H
16 time_t last_update_mono
;
21 void localip_init(struct local_ips
*ips
);
22 void localip_free(struct local_ips
*ips
);
24 void localip_update(const char *iface
, struct local_ips
*ips
);
25 int is_localip(const struct addr
* const a
,
26 const struct local_ips
* const ips
);
29 /* vim:set ts=3 sw=3 tw=80 et: */