First graphical accounting of IPv6.
[darkstat] / localip.h
1 /* darkstat 3
2 * copyright (c) 2001-2006 Emil Mikulic.
3 *
4 * localip.h: determine local IP of our capture interface
5 *
6 * You may use, modify and redistribute this file under the terms of the
7 * GNU General Public License version 2. (see COPYING.GPL)
8 */
9
10 #include <netinet/in.h> /* for in_addr_t */
11
12 extern in_addr_t localip;
13 extern struct in6_addr localip6;
14
15 void localip_init(const char *interface);
16 void localip_update(void);
17
18 /* vim:set ts=3 sw=3 tw=78 expandtab: */