summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
AgeCommit message (Collapse)Author
1999-05-06I rewrote the interface handling code, so that it supports multipleMartin Mares
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-04-19Updated filters: they now actually see IP/pxlen of net being filtered,Pavel Machek
gateway, and who told us, so they can do usefull jobs from now on.
1999-04-14SImplify code a tiny bit.Pavel Machek
1999-04-12Removed TOS support. This simplifies many things a lot.Martin Mares
1999-03-29Added FIXME: If a strange interface appears, ignore it instead of onlyMartin Mares
writing an error message...
1999-03-26Added everything protocols need to know about multiple routing tables,Martin Mares
i.e. struct proto now contains field 'table' pointing to routing table the protocol is attached to. Use this instead of &master_table. Modified all protocols except the kernel syncer to use this field.
1999-03-17Removed the `rta_same' hook since it's no longer needed (all protocolsMartin Mares
needing some local information should use extended attrs and cached rta's).
1999-03-17Initialize pointers to functions so that code is actually alive.Pavel Machek
1999-03-17Don't segfault on unknown interface.Pavel Machek
1999-03-02Avoid segfaultPavel Machek
1999-03-01Hopefully ended translating to new interfacePavel Machek
1999-02-15More rip fixes (config data moved to struct rip_proto_config), stillPavel Machek
not tested.
1999-02-13Parameter order for the proto->if_notify hook was different in the includeMartin Mares
file and different in reality. Decided to use the same order as we do for proto->rt_notify (i.e., first new value and second the old one).
1999-02-13Pass new argument to FIB_ITERATE_END.Martin Mares
1999-02-08Propagate depend into all subdirectories; make rip compile afterPavel Machek
latest mj's changes.
1999-01-12Make it compile again (stupid makefiles!), make quiet option workPavel Machek
(multicast/broadcast options are currently unimplemented).
1999-01-12Patterns expanded in the right wayPavel Machek
1998-12-22Bird now uses fib structure instead of linklist.Pavel Machek
1998-12-20log(), die() and bug() messages shound NOT contain trailing newlines.Martin Mares
1998-12-20Added #if 0 to rip_postconfig(), so that it doesn't crash whole daemonMartin Mares
when RIP is unconfigured. die() -> bug()
1998-12-09debug() -> DBG() in rip.Pavel Machek
1998-12-09Initial multicast support (can not work, but skeleton is there)Pavel Machek
1998-12-04Rip now has configurable per-interface metric (please rewiev), and fewPavel Machek
more configurable parameters. To do that, union was added into iface_patt.
1998-12-01Infinity is now configurable ammount.Pavel Machek
1998-11-27Fixed few misspellings and exported instance init as rip_init_instance().Martin Mares
1998-10-26RIP now includes notion of interface, and is correctly talking toPavel Machek
itself on second host. Split horizont is broken.
1998-10-20RIP _NOW_ actually talks to itself (workaround core bug: send dataPavel Machek
from other port than we receive at), few FIXME's added.
1998-10-20RIP now actually talks to itself.Pavel Machek
1998-10-17rip should now correctly listen, but entries will not time out.Pavel Machek
1998-10-15Rip: rip_rta_same added.Pavel Machek
1998-10-13I prefer to have broken drivers than completely stupid ones...Pavel Machek
Linus Torvalds Rip now uses main routing table properly: entries are stored directly into main routing table and we are relying on core to call our's compare. That unfortunately broke garbage collecting (and probably many more things). It compiles.
1998-10-07RIP now somehow listens to main routing table (dont expect it to work)Pavel Machek
1998-07-30Bird's info are now understood by ripquery.Pavel Machek
1998-07-28Rip now includes code to reply, but it is currently broken.Pavel Machek
1998-07-09Commiting RIP. RIP should somehow listen, will not reply. I needed toPavel Machek
commit it so that whole thing compiles.