summaryrefslogtreecommitdiff
path: root/sysdep
AgeCommit message (Collapse)Author
1998-11-27Added path to config file.Martin Mares
1998-11-16Complain loudly if the logging buffer would overflow.Martin Mares
1998-10-20Learn static device routes from the kernel (temporary until we can makeMartin Mares
such things configurable).
1998-10-19Generate router_id automatically if possible (standard "smallest of localMartin Mares
regular interface addresses" rule). Protocols should NOT rely on router_id existence -- when router ID is not available, the router_id variable is set to zero and protocols requiring valid router ID should just refuse to start, reporting such error to the log.
1998-10-19Basic kernel routing table syncing implemented. Learning of routes installedMartin Mares
by other programs or the kernel itself is not supported yet, but it's not needed for development of other protocols.
1998-10-19Use (SOCK_DGRAM,IPPROTO_IP) socket instead of (SOCK_STREAM,IPPROTO_TCP).Martin Mares
This is exactly what Linux ifconfig does and seems to be the preferred way.
1998-10-19Exporting fill_in_sockaddr() for use by other unix-dependent code.Martin Mares
1998-10-18We parse /proc/net/route and flag RT entries according to it. More to comeMartin Mares
today in the morning...
1998-10-18Since almost every UNIX system requires different techniques for readingMartin Mares
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-18Split protocol init to building of protocol list and real protocol init.Martin Mares
Added kernel route table syncer skeleton.
1998-10-17Solve chicken-and-egg problems with protocol startup. We now queue all inactiveMartin Mares
protocols and don't send route/interface updates to them and when they come up, we resend the whole route/interface tables privately. Removed the "scan interface list after protocol start" work-around.
1998-10-14Moved scanning of interfaces, so that they get initialized after allMartin Mares
routing protocol instances.
1998-10-13o There are cases when SIOCGIFINDEX is defined, but it doesn't work. WhenMartin Mares
this happens, don't reject the whole interface, just mark it as index 0. o Removed Pavel's comment about EFAULT and SIGSEGV. EFAULT is a valid return code for cases where the buffer is too small. o Commented out the smart interface list size logic temporarily as it seems Linux 2.0 SIOCGIFCONF doesn't react to ifc_req==NULL sanely. Replaced it by exponential stepping.
1998-10-13Strange, on atrey ioctl() does not fill structure, and bird segfaultsPavel Machek
on it. Now we "only" die().
1998-07-15Added comment explaining `now'.Martin Mares
1998-07-10Replaced remaining references of clock_t by bird_clock_t.Martin Mares
1998-07-09Making SIGUSR1 dump also all protocols.Pavel Machek
1998-06-17debug() and log() use the new printf. Feel free to use new formattingMartin Mares
sequences for all output.
1998-06-04Fixed processing of timers.Martin Mares
1998-06-03Killed socket debug code. Initialize config pool and protocols.Martin Mares
More to come later...
1998-06-01Synced to new interface code.Martin Mares
1998-05-26Whee, multicast sockets work!Martin Mares
Implemented recurrent timers.
1998-05-26Added CONFIG_AUTO_ROUTES (automatic device route creation) andMartin Mares
CONFIG_ALL_MULTICAST (all interfaces capable of multicasting, not depending on IFF_MULTICAST flag).
1998-05-26Implemented scanning of network interfaces. Mostly very ugly code due toMartin Mares
terrible kernel interface (SIOGIFCONF and friends).
1998-05-24Added UNIX implementation of both timers and sockets. Timers should work,Martin Mares
sockets were tested only in TCP mode. main.c now contains some test cases for socket code.
1998-05-24Implemented timers. Using bird_clock_t for absolute time from now...Martin Mares
1998-05-20Added routing table and routing attribute code.Martin Mares
1998-05-15The library is now glued together from generic and OS-dependent partsMartin Mares
by the `mergedirs' script. Few more IP address manipulation functions and some fixes.
1998-05-03BIRD library: The story continues.Martin Mares
Complete resource manages and IP address handling.
1998-05-03Added new subdir for UNIX-dependent files.Martin Mares
Now contains only functions for logging, but it will change soon.
1998-04-28Changed #include <x/y> to #include "x/y" for our local includes, so thatMartin Mares
gcc -MM can be used to separate them from the system ones. Added automatic generation of dependencies.
1998-04-22First look at data structures. More to come tomorrow...Martin Mares