File: localip.h

package info (click to toggle)
darkstat 3.0.708-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 708 kB
  • ctags: 592
  • sloc: ansic: 5,326; sh: 322; makefile: 131
file content (17 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* darkstat 3
 * copyright (c) 2001-2006 Emil Mikulic.
 *
 * localip.h: determine local IP of our capture interface
 *
 * You may use, modify and redistribute this file under the terms of the
 * GNU General Public License version 2. (see COPYING.GPL)
 */

#include <netinet/in.h> /* for in_addr_t */

extern in_addr_t localip;

void localip_init(const char *interface);
void localip_update(void);

/* vim:set ts=3 sw=3 tw=78 expandtab: */