1. 06 May, 1999 1 commit
    • Martin Mareš's avatar
      I rewrote the interface handling code, so that it supports multiple · 9a158361
      Martin Mareš authored
      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.
      9a158361
  2. 27 Apr, 1999 3 commits
  3. 22 Apr, 1999 1 commit
    • Ondřej Filip's avatar
      · 93bde8dc
      Ondřej Filip authored
      Work on hello continues.
      93bde8dc
  4. 19 Apr, 1999 1 commit
  5. 14 Apr, 1999 8 commits
  6. 13 Apr, 1999 7 commits
    • Ondřej Filip's avatar
      · 4c630a6d
      Ondřej Filip authored
      Added wait timer for eligible BCAST & NBMA interface.
      4c630a6d
    • Ondřej Filip's avatar
      · 55e7732a
      Ondřej Filip authored
      Change in ospf_iface. (My bad understanding of lists manipulation.)
      55e7732a
    • Ondřej Filip's avatar
      · aec76c6e
      Ondřej Filip authored
      IPv6 changes.
      aec76c6e
    • Pavel Machek's avatar
      Sets of IP addresses should work, now. (From now on it is also · 43fc099b
      Pavel Machek authored
      possible to write if 1.2.3.4 < 1.2.3.5, but I'm not sure if it is good
      for anything.)
      43fc099b
    • Ondřej Filip's avatar
      · 24eaae9e
      Ondřej Filip authored
      Small change to stop using loopback.
      24eaae9e
    • Ondřej Filip's avatar
      · cb2e8c49
      Ondřej Filip authored
      A small init change to avoid core dump.
      cb2e8c49
    • Ondřej Filip's avatar
      · 5b1a92e6
      Ondřej Filip authored
      Not all I mean serious. Almost everything will change.
      Changes: struct ospf_iface draft, various constants added...
      5b1a92e6
  7. 12 Apr, 1999 11 commits
  8. 11 Apr, 1999 1 commit
  9. 10 Apr, 1999 1 commit
  10. 07 Apr, 1999 2 commits
  11. 06 Apr, 1999 1 commit
  12. 05 Apr, 1999 3 commits
    • Martin Mareš's avatar
      Routing table core changes to support full route filtering: · e2dc2f30
      Martin Mareš authored
      o  Introduced rte_cow() which should be used for copying on write the
         rte's in filters. Each rte now carries a flag saying whether it's
         a real route (possessing table linkage and other insignia) or a local
         copy. This function can be expected to be fast since its fast-path
         is inlined.
      o  Introduced rte_update_pool which is a linear memory pool used for
         all temporary data during rte_update. You should not reference it directly
         -- instead use a pool pointer passed to all related functions.
      o  Split rte_update to three functions:
      
      	rte_update	The front end: handles all checking, inbound
      			filtering and calls rte_recalculate() for the
      			final version of the route.
      	rte_recalculate	Update the table according to already filtered route.
      	rte_announce	Announce routing table changes to all protocols,
      			passing them through export filters and so on.
      
         The interface has _not_ changed -- still call rte_update() and it will
         do the rest for you automagically.
      o  Use new filtering semantics to be explained in a separate mail.
      e2dc2f30
    • Martin Mareš's avatar
      Added some new protocol hooks (look at the comments for better explanation): · 9e0e485e
      Martin Mareš authored
      	make_tmp_attrs		Convert inline attributes to ea_list
      	store_tmp_attrs		Convert ea_list to inline attributes
      	import_control		Pre-import decisions
      9e0e485e
    • Martin Mareš's avatar
      Changed syntax of attaching filters to protocols to hopefully the final · 5056c559
      Martin Mareš authored
      version:
      
      	EXPORT <filter-spec>	for outbound routes (i.e., those announced
      				by BIRD to the rest of the world).
      	IMPORT <filter-spec>	for inbound routes (i.e., those imported
      				by BIRD from the rest of the world).
      
      where <filter-spec> is one of:
      
      	ALL			pass all routes
      	NONE			drop all routes
      	FILTER <name>		use named filter
      	FILTER { <filter> }	use explicitly defined filter
      
      For all protocols, the default is IMPORT ALL, EXPORT NONE. This includes
      the kernel protocol, so that you need to add EXPORT ALL to get the previous
      configuration of kernel syncer (as usually, see doc/bird.conf.example for
      a bird.conf example :)).
      5056c559