bird/sysdep/unix
Martin Mares 9a158361da I rewrote the interface handling code, so that it supports multiple
addresses per interface (needed for example for IPv6 support).

Visible changes:

o  struct iface now contains a list of all interface addresses (represented
   by struct ifa), iface->addr points to the primary address (if any).
o  Interface has IF_UP set iff it's up and it has a primary address.
o  IF_UP is now independent on IF_IGNORED (i.e., you need to test IF_IGNORED
   in the protocols; I've added this, but please check).
o  The if_notify_change hook has been simplified (only one interface pointer
   etc.).
o  Introduced a ifa_notify_change hook. (For now, only the Direct protocol
   does use it -- it's wise to just listen to device routes in all other
   protocols.)
o  Removed IF_CHANGE_FLAGS notifier flag (it was meaningless anyway).
o  Updated all the code except netlink (I'll look at it tomorrow) to match
   the new semantics (please look at your code to ensure I did it right).

Things to fix:

o  Netlink.
o  Make krt-iface interpret "eth0:1"-type aliases as secondary addresses.
1999-05-06 21:38:11 +00:00
..
endian.h Moved all system-dependent #include's containing endianity conversion 1999-03-29 19:14:43 +00:00
io.c I rewrote the interface handling code, so that it supports multiple 1999-05-06 21:38:11 +00:00
krt-iface.c I rewrote the interface handling code, so that it supports multiple 1999-05-06 21:38:11 +00:00
krt-iface.h Rewrote the kernel syncer. The old layering was horrible. 1999-03-03 19:49:56 +00:00
krt-set.c Removed TOS support. This simplifies many things a lot. 1999-04-12 18:01:07 +00:00
krt-set.h Rewrote the kernel syncer. The old layering was horrible. 1999-03-03 19:49:56 +00:00
krt.c Removed TOS support. This simplifies many things a lot. 1999-04-12 18:01:07 +00:00
krt.h More changes to the kernel syncer. 1999-04-03 13:05:18 +00:00
krt.Y More changes to the kernel syncer. 1999-04-03 13:05:18 +00:00
log.c Finer grained logging levels: 1998-12-20 14:24:35 +00:00
main.c Believe it or not, printf()'s does not work too much without this one. 1999-04-02 11:45:55 +00:00
Modules Moved all system-dependent #include's containing endianity conversion 1999-03-29 19:14:43 +00:00
timer.h Added comment explaining `now'. 1998-07-15 19:42:23 +00:00
unix.h Moved to a much more systematic way of configuring kernel protocols. 1999-03-26 21:44:38 +00:00