summaryrefslogtreecommitdiff
path: root/proto
AgeCommit message (Collapse)Author
1999-05-11Better logging output. Added 'struct proto *' info 'struct ospf iface'.Ondrej Filip
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-27Just changes of comments.Ondrej Filip
1999-04-27Hello timer implemented.Ondrej Filip
1999-04-22Work on hello continues.Ondrej Filip
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-14Redesigned struct ospf_iface & new struct ospf_sock.Ondrej Filip
1999-04-14Small bug fix in memcpy.Ondrej Filip
1999-04-14A couple of OSPF fixes:Martin Mares
o ((flags & IF_CHANGE_UP) == IF_CHANGE_UP) -> (flags & IF_CHANGE_UP) o bcopy -> memcpy (bcopy is unportable) o Ifdeffed out add_tail(&(ifa->sk_list),NODE mcsk) -- the node in socket structure is for internal use by the resource manager only. (Now, the debugging dump of open sockets looks sane :-)).
1999-04-14Removed redeclaration of `idval', so that it compiles :)Martin Mares
1999-04-13Added wait timer for eligible BCAST & NBMA interface.Ondrej Filip
1999-04-13Change in ospf_iface. (My bad understanding of lists manipulation.)Ondrej Filip
1999-04-13IPv6 changes.Ondrej Filip
1999-04-13Small change to stop using loopback.Ondrej Filip
1999-04-13A small init change to avoid core dump.Ondrej Filip
1999-04-12Not all I mean serious. Almost everything will change.Ondrej Filip
Changes: struct ospf_iface draft, various constants added...
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-09Yes, joining the crew. Sorry for being late. Added dummy functions for OSPF.Ondrej Filip
1999-03-02Avoid segfaultPavel Machek
1999-03-02Don't try to install static routes to disconnected neighbors.Martin Mares
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-13Implemented static device routes.Martin Mares
Expect for reconfiguration issues, the static protocol is complete now.
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-13Static protocol doesn't need any shutdown function. Everything getsMartin Mares
disposed by the core: neighbors, rte's, etc's...
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-02-05Modified static router to use new interface.Martin Mares
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
1999-01-10New makefiles. Includes support for out-of-source-tree builds.Martin Mares
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-20die() -> bug() where appropriate.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-08Fixed a couple of bugs in static protocol. All static routes except deviceMartin Mares
ones seem to work well.
1998-12-06All static routes except for device ones should work and appear/disappearMartin Mares
when their destination comes on/off link. Deserves better testing :) See example in bird.conf.
1998-12-06Added skeleton of static route protocol.Martin Mares
1998-12-06Name cleanups as suggested by Pavel:Martin Mares
- cfg_strcpy() -> cfg_strdup() - mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*] Anyway, it might be better to stop ranting about names and do some *real* work.
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-27First attempt at protocol configuration (now done only for RIP).Martin Mares