Commit graph

  • 2a900b1b15 Fixed misleading comment. Martin Mares 1998-10-17 11:26:28 +0000
  • 7f3d198df1 Each protocol now hears even its own routes and needs to make its own loop detection. This is needed since both RIP and OSPF handle multiple neighbors and they need to redistribute routes learned from each neighbor to the remaining ones. Martin Mares 1998-10-17 11:24:13 +0000
  • 47b793064c Solve chicken-and-egg problems with protocol startup. We now queue all inactive protocols and don't send route/interface updates to them and when they come up, we resend the whole route/interface tables privately. Martin Mares 1998-10-17 11:05:18 +0000
  • d92882be9b WALK_LIST_DELSAFE now actually works (it really couldn't since it didn't reference list head at all). Martin Mares 1998-10-17 11:02:39 +0000
  • c05ea56f8e rip should now correctly listen, but entries will not time out. Pavel Machek 1998-10-17 10:25:22 +0000
  • 8333431c4d Rip: rip_rta_same added. Pavel Machek 1998-10-15 15:12:24 +0000
  • 93f1c532e9 Moved scanning of interfaces, so that they get initialized after all routing protocol instances. Martin Mares 1998-10-14 13:38:17 +0000
  • cf3934c569 Lists: unneccessary test killed, make code friendly to non-gcc. Pavel Machek 1998-10-14 13:27:53 +0000
  • c93214d442 o There are cases when SIOCGIFINDEX is defined, but it doesn't work. When 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. Martin Mares 1998-10-13 19:57:33 +0000
  • fdf33cde1c Strange, on atrey ioctl() does not fill structure, and bird segfaults on it. Now we "only" die(). Pavel Machek 1998-10-13 14:59:46 +0000
  • 21580e304f I prefer to have broken drivers than completely stupid ones... Pavel Machek 1998-10-13 14:32:18 +0000
  • 1d941de47a RIP now somehow listens to main routing table (dont expect it to work) Pavel Machek 1998-10-07 19:33:50 +0000
  • 8c43696da0 Route update hook now gets network prefix as well as updated route attributes. Martin Mares 1998-08-31 21:13:42 +0000
  • bf65d27dea Bird's info are now understood by ripquery. Pavel Machek 1998-07-30 07:43:45 +0000
  • 279f4c7b7b Rip now includes code to reply, but it is currently broken. Pavel Machek 1998-07-28 21:44:11 +0000
  • 48b41d5811 Do not segfault on iface == NULL. Pavel Machek 1998-07-28 21:42:08 +0000
  • a872b0f7da Reversed buggy patch. Pavel Machek 1998-07-20 20:05:40 +0000
  • c25e90efed Added comment explaining `now'. Martin Mares 1998-07-15 19:42:23 +0000
  • 1be52eea57 Removed format specification attributes for log() and debug() until GCC is fixed to handle custom formats. Martin Mares 1998-07-10 08:39:34 +0000
  • 786d0bb9e7 Added ipa_class_mask() which guesses netmask for classful addressing. For pure A/B/C class addresses it just returns the class netmask, for subnets it tries to guess subnet mask. Please make sure the address you pass to this function is really a valid host address (i.e., call ipa_validate() first). Martin Mares 1998-07-10 08:38:29 +0000
  • 28a9a189d7 Replaced remaining references of clock_t by bird_clock_t. Martin Mares 1998-07-10 08:32:18 +0000
  • a103373f61 Commiting RIP. RIP should somehow listen, will not reply. I needed to commit it so that whole thing compiles. Pavel Machek 1998-07-09 19:39:04 +0000
  • 86b0023033 Making SIGUSR1 dump also all protocols. Pavel Machek 1998-07-09 19:37:39 +0000
  • 87d2be86e5 Adding proto_dump_all() function Pavel Machek 1998-07-09 19:36:52 +0000
  • cf3527e2f4 Adding MIN()/MAX() macros Pavel Machek 1998-07-09 19:36:05 +0000
  • aea2dcabdc Adding walk list which permits you to delete entries. Pavel Machek 1998-07-09 19:35:23 +0000
  • 962ba482fd Use '%I' instead of dirty address printing hacks. Martin Mares 1998-06-17 14:36:02 +0000
  • d997534f65 Oops, forgot '%m'... Martin Mares 1998-06-17 14:34:13 +0000
  • 9556f22585 debug() and log() use the new printf. Feel free to use new formatting sequences for all output. Martin Mares 1998-06-17 14:33:29 +0000
  • ecacdfa434 Added local version of sprintf (bsprintf and bvsprintf) offering few new format strings: Martin Mares 1998-06-17 14:31:36 +0000
  • 97d858c590 ip_ntop() and ip_ntox() for IPv4. Martin Mares 1998-06-17 14:28:46 +0000
  • 6b5e06abb5 Added function for converting of IP addresses to printable form. Martin Mares 1998-06-17 14:26:30 +0000
  • 620a355a15 Now sending IF_CHANGE_CREATE when a new interface appears and IF_CHANGE_UP only if it's really up. Martin Mares 1998-06-04 20:30:11 +0000
  • 236d4eb8ce FIB_WALK and friends are now slightly more friendly. Martin Mares 1998-06-04 20:29:44 +0000
  • 66e53309ac Dumping of _static_ attributes implemented. Martin Mares 1998-06-04 20:29:05 +0000
  • b1e4f81485 We have full interface routes now. Martin Mares 1998-06-04 20:28:43 +0000
  • 0cdbd3975a Handle route deletion without segfaults. A bit more debug dumps. Martin Mares 1998-06-04 20:28:19 +0000
  • 5331da6a4d Fixed processing of timers. Martin Mares 1998-06-04 20:27:49 +0000
  • fd50083df4 Killed socket debug code. Initialize config pool and protocols. More to come later... Martin Mares 1998-06-03 08:43:44 +0000
  • c5ffa44759 Skeleton of device route protocol. As it's tightly coupled with our kernel, it sits here instead of `proto/dev'. Martin Mares 1998-06-03 08:42:16 +0000
  • d9f330c5ff Protocol hooks. All of them may be NULL. Martin Mares 1998-06-03 08:40:10 +0000
  • 7f4a39886c Basic protocol operations. Martin Mares 1998-06-03 08:38:53 +0000
  • a5f1a60e02 Changed protocol declarations a bit. Martin Mares 1998-06-03 08:38:06 +0000
  • 33beab4f6c Added configuration pool. Martin Mares 1998-06-03 08:36:34 +0000
  • c5fd704e48 Protocols will reside in directory `proto'. Martin Mares 1998-06-03 08:35:40 +0000
  • 869c695998 Synced to new interface code. Martin Mares 1998-06-01 21:41:32 +0000
  • 4cc78c5082 - Rewrote whole interface logic. Removed support for multiple addresses per interface since it makes much trouble everywhere. Instead, we understand secondary addresses as subinterfaces. Martin Mares 1998-06-01 21:41:11 +0000
  • 0fe3b28b68 Added ipa_xor() and ipa_in_net(). Martin Mares 1998-06-01 21:36:58 +0000
  • af847acc27 Whee, multicast sockets work! Martin Mares 1998-05-26 21:46:38 +0000
  • 140f034105 Added CONFIG_AUTO_ROUTES (automatic device route creation) and CONFIG_ALL_MULTICAST (all interfaces capable of multicasting, not depending on IFF_MULTICAST flag). Martin Mares 1998-05-26 21:44:54 +0000
  • fe82105e5d Debug messages. Martin Mares 1998-05-26 21:43:45 +0000
  • 8a48ecb8b1 Implemented scanning of network interfaces. Mostly very ugly code due to terrible kernel interface (SIOGIFCONF and friends). Martin Mares 1998-05-26 21:42:05 +0000
  • b1487ee909 Added generic functions for unaligned data access. Martin Mares 1998-05-26 21:38:06 +0000
  • ed68a5c6a4 Resource pools are now named. Martin Mares 1998-05-26 21:37:37 +0000
  • d5417b379f Added ipa_opposite(). Martin Mares 1998-05-26 21:36:48 +0000
  • 5222c46ceb DBG now calls debug() instead of sending it to log(). Martin Mares 1998-05-26 21:36:17 +0000
  • d804db0dab Added few socket declarations. Martin Mares 1998-05-24 15:00:48 +0000
  • 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. Martin Mares 1998-05-24 14:50:18 +0000
  • 6d45cf21be Added debug dump function, but it's still empty :( Martin Mares 1998-05-24 14:49:14 +0000
  • ded3ee6ddd protos_init, not proto_init. Martin Mares 1998-05-24 14:48:52 +0000
  • b53499cdaa Added interface index (used only by OS-dependent code since ifindexes itself are OS-dependent). Martin Mares 1998-05-24 14:48:09 +0000
  • d4bc8dc000 Staticized some variables and functions. Martin Mares 1998-05-24 14:46:20 +0000
  • 315aba32b3 Fixed path to includes. Martin Mares 1998-05-24 14:44:25 +0000
  • a2ccbb0b97 Implemented timers. Using bird_clock_t for absolute time from now... Martin Mares 1998-05-24 14:40:29 +0000
  • 235562ca5a Point-to-point links: added address of the opposite end. Martin Mares 1998-05-24 09:20:59 +0000
  • 480effedac Added declarations of all our socket functions. Martin Mares 1998-05-24 09:19:26 +0000
  • 2326b001d6 Added routing table and routing attribute code. Martin Mares 1998-05-20 11:54:33 +0000
  • 3994080eb1 Fixed path to includes. Martin Mares 1998-05-15 13:43:59 +0000
  • 25697773b5 The library is now glued together from generic and OS-dependent parts by the `mergedirs' script. Few more IP address manipulation functions and some fixes. Martin Mares 1998-05-15 07:56:13 +0000
  • 62aa008abd Parts of routing table code. Data structure declarations should be complete now. Martin Mares 1998-05-15 07:54:32 +0000
  • 18c8241a91 BIRD library: The story continues. Martin Mares 1998-05-03 16:43:39 +0000
  • a8b6038225 Next attempt on data structures... Martin Mares 1998-05-03 16:42:45 +0000
  • 6032aa6ade Added new subdir for UNIX-dependent files. Martin Mares 1998-05-03 16:42:08 +0000
  • 1feea03e74 Changed #include <x/y> to #include "x/y" for our local includes, so that gcc -MM can be used to separate them from the system ones. Martin Mares 1998-04-28 14:39:34 +0000
  • c40e05a0df Added IP address manipulation macros, interface declarations and logging. Martin Mares 1998-04-23 14:01:15 +0000
  • 481f69854a Added few route attributes. Martin Mares 1998-04-23 08:09:39 +0000
  • 58ef912c6b First look at data structures. More to come tomorrow... Martin Mares 1998-04-22 12:58:34 +0000
  • b60f748914 Added banner presented to KSVI. Martin Mares 1998-03-20 18:30:55 +0000