summaryrefslogtreecommitdiff
path: root/source3/include/interfaces.h
blob: 66ea151f02e89dc47fb344a6a1bb888bdeb93576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
   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];
	int flags;
	struct sockaddr_storage ip;
	struct sockaddr_storage netmask;
	struct sockaddr_storage bcast;
};