- 29 Mar, 1999 4 commits
-
-
Martin Mareš authored
memory available for subsequent allocations from the same pool. Both flushing and re-using the memory costs just few instructions.
-
Martin Mareš authored
functions to sysdep header endian.h.
-
Martin Mareš authored
-
Martin Mareš authored
whitespace/semicolon rules for whole config file: o All non-zero amounts of whitespace are equivalent to single space (aka `all the whitespace has been born equal' ;-)). o Comments count as whitespace. o Whitespace has no syntactic signifance (it can only separate lexical elements). o Consequence: line ends are no longer treated as `;'s. o Every declaration must be terminated by an explicit `;' unless or by a group enclosed in `{' and `}'.
-
- 27 Mar, 1999 1 commit
-
-
Martin Mareš authored
documented the remaining ones (sysdep/cf/README). Available configurations: o linux-20: Old Linux interface via /proc/net/route (selected by default on pre-2.1 kernels). o linux-21: Old Linux interface, but device routes handled by the kernel (selected by default for 2.1 and newer kernels). o linux-22: Linux with Netlink (I play with it a lot yet, so it isn't a default). o linux-ipv6: Prototype config for IPv6 on Linux. Not functional yet.
-
- 26 Mar, 1999 6 commits
-
-
Martin Mareš authored
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.
-
Martin Mareš authored
o Nothing is configured automatically. You _need_ to specify the kernel syncer in config file in order to get it started. o Syncing has been split to route syncer (protocol "Kernel") and interface syncer (protocol "Device"), device routes are generated by protocol "Direct" (now can exist in multiple instances, so that it will be possible to feed different device routes to different routing tables once multiple tables get supported). See doc/bird.conf.example for a living example of these shiny features.
-
Martin Mareš authored
-
Martin Mareš authored
-
Martin Mareš authored
-
Martin Mareš authored
This avoids few nasty references to free memory.
-
- 24 Mar, 1999 1 commit
-
-
Martin Mareš authored
us a real protocol number in 2.2.4 kernel.
-
- 17 Mar, 1999 9 commits
-
-
Martin Mareš authored
to bogus prefixes and non-local routes to host scope addresses.
-
Martin Mareš authored
modifying filters yet) to be attached to protocol instances.
-
Martin Mareš authored
o Introduced struct filter which serves as an external reference to filter. Using struct symbol for this is unwise since it doesn't allow extra information attached to the filter and it also forces all filters to be named. o Implemented config rule 'filter' which matches either named filter or an embedded unnamed filter (`{ <filter> }'). o Fixed totally bogus comment at the top of filter.h. o Added a missing prototype for f_run() to filter.h.
-
Martin Mareš authored
needing some local information should use extended attrs and cached rta's).
-
Martin Mareš authored
-
Pavel Machek authored
-
Pavel Machek authored
-
Pavel Machek authored
-
Pavel Machek authored
-
- 09 Mar, 1999 3 commits
-
-
Ondřej Filip authored
Yes, joining the crew. Sorry for being late. Added dummy functions for OSPF.
-
Pavel Machek authored
-
Pavel Machek authored
-
- 08 Mar, 1999 1 commit
-
-
Pavel Machek authored
-
- 04 Mar, 1999 6 commits
-
-
Martin Mareš authored
to the krt_capable mechanism as well.
-
Martin Mareš authored
(via Netlink). Tweaked kernel synchronization rules a bit. Discovered locking bug in kernel Netlink :-) Future plans: Hunt all the bugs and solve all the FIXME's.
-
Martin Mareš authored
To build BIRD with Netlink support, just configure it with ./configure --with-sysconfig=linux-21 After it will be tested well enough, I'll probably make it a default for 2.2 kernels (and rename it to linux-22 :)).
-
Martin Mareš authored
-
Martin Mareš authored
-
Martin Mareš authored
over EFence and also hopefully smaller memory overhead, but sadly it's non-free for commercial use). If the DMALLOC_OPTIONS environment variable is not set, switch on `reasonable' checks by default. Also introduced mb_allocz() for cleared mb_alloc().
-
- 03 Mar, 1999 6 commits
-
-
Martin Mareš authored
-
Martin Mareš authored
-
Martin Mareš authored
-
Martin Mareš authored
immediately. Grrr, need to find a real solution some day.
-
Martin Mareš authored
The new kernel syncer is cleanly split between generic UNIX module and OS dependent submodules: - krt.c (the generic part) - krt-iface (low-level functions for interface handling) - krt-scan (low-level functions for routing table scanning) - krt-set (low-level functions for setting of kernel routes) krt-set and krt-iface are common for all BSD-like Unices, krt-scan is heavily system dependent (most Unices require /dev/kmem parsing, Linux uses /proc), Netlink substitues all three modules. We expect each UNIX port supports kernel routing table scanning, kernel interface table scanning, kernel route manipulation and possibly also asynchronous event notifications (new route, interface state change; not implemented yet) and build the KRT protocol on the top of these primitive operations.
-
Martin Mareš authored
default zero priority). No more "kernel syncer initialized before device routes" problems.
-
- 02 Mar, 1999 3 commits
-
-
Pavel Machek authored
-
Pavel Machek authored
-
Martin Mareš authored
-