Revision bcbd8cc3 nest/iface.h

View differences:

nest/iface.h
21 21
  unsigned flags;
22 22
  unsigned mtu;
23 23
  unsigned index;			/* OS-dependent interface index */
24
  ip_addr ip;				/* IP address of this host */
24
  ip_addr ip;				/* IP address of this host (0=unset) */
25 25
  ip_addr prefix;			/* Network prefix */
26 26
  unsigned pxlen;			/* Prefix length */
27 27
  ip_addr brd;				/* Broadcast address */
......
29 29
  struct neighbor *neigh;		/* List of neighbors on this interface */
30 30
};
31 31

  
32
#define IF_UP 1
32
#define IF_UP 1				/* IF_LINK_UP, not IF_IGNORE and IP address known */
33 33
#define IF_MULTIACCESS 2
34 34
#define IF_UNNUMBERED 4
35 35
#define IF_BROADCAST 8
......
38 38
#define IF_ADMIN_DOWN 64
39 39
#define IF_LOOPBACK 128
40 40
#define IF_IGNORE 256
41
#define IF_UPDATED 0x1000		/* Touched in last scan */
41
#define IF_LINK_UP 512
42
#define IF_UPDATED 0x40000000		/* Touched in last scan */
42 43

  
43 44
/* Interface change events */
44 45

  

Also available in: Unified diff