Martin Mares
4daf03e513
Use our own SUN_LEN if libc doesn't provide it.
2000-06-16 23:12:47 +00:00
Martin Mares
5ddf4a58f9
During initialization, log to both syslog and stderr. When a configuration
...
file has been read and it doesn't specify any logging, log to syslog only
(if syslog is not available, then stderr).
2000-06-09 07:32:57 +00:00
Martin Mares
50fe90edf3
First attempt on dynamic reconfiguration. There are still lots of bugs
...
and problems to solve, but the hardest part works.
2000-01-16 16:44:50 +00:00
Martin Mares
a0c37b45e5
Logging is now configurable. You can define multiple log outputs (to both
...
files and syslog) and assign lists of message categories to each of them.
1999-12-06 13:45:56 +00:00
Martin Mares
b93abffae4
Implemented unix-domain sockets.
1999-10-29 12:09:29 +00:00
Martin Mares
4532a89e31
Taught Netlink how to behave in IPv6 world.
1999-08-03 19:37:37 +00:00
Martin Mares
4f22c98185
Support for IPv6 sockets. How nice one doesn't have to ifdef around
...
ten years of API evolution :-)
1999-08-03 19:36:51 +00:00
Martin Mares
7e5f5ffdda
Moved to a much more systematic way of configuring kernel protocols.
...
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.
1999-03-26 21:44:38 +00:00
Martin Mares
025d14cd5a
Use traditional Unix route/iface interface only when CONFIG_NETLINK
...
is not defined. Also moved declarations of Unix iface logic to krt.h.
1999-03-01 19:05:58 +00:00
Martin Mares
f4aabcee62
Perform gracious shutdown upon receipt of SIGTERM. Finally we can
...
test the whole protocol shutdown code... :)
1999-02-13 20:15:36 +00:00
Martin Mares
4c9dd1e4b9
Synchronize signals to the main select/event/timer loop.
...
Parse command line options.
1999-02-13 19:43:21 +00:00
Martin Mares
4cf45766ba
Exporting fill_in_sockaddr() for use by other unix-dependent code.
1998-10-19 17:47:50 +00:00
Martin Mares
7e7790c61f
Since almost every UNIX system requires different techniques for reading
...
the kernel routing table as opposed to modifying it which is approximately
the same on non-netlink systems, I've split the kernel routing table
routines to read and write parts. To be implemented later ;-)
1998-10-18 12:50:43 +00:00
Martin Mares
0432c0173b
Split protocol init to building of protocol list and real protocol init.
...
Added kernel route table syncer skeleton.
1998-10-18 11:53:21 +00:00
Martin Mares
af847acc27
Whee, multicast sockets work!
...
Implemented recurrent timers.
1998-05-26 21:46:38 +00:00
Martin Mares
b5d9ee5c87
Added UNIX implementation of both timers and sockets. Timers should work,
...
sockets were tested only in TCP mode. main.c now contains some test
cases for socket code.
1998-05-24 14:50:18 +00:00