summaryrefslogtreecommitdiffstats
path: root/source/include/interfaces.h
blob: 3b786f1ebcbd4a3e065310de4782cd9fc3a945de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 
   This structure is used by lib/interfaces.c to return the list of network
   interfaces on the machine
*/

#define MAX_INTERFACES 128

struct iface_struct {
	char name[16];
	struct in_addr ip;
	struct in_addr netmask;
};