bird/nest
Martin Mares 96d8e3bff2 Added protocol debugging flags (protocol.h: D_xxx), parsing of them
in configuration files and commands for manipulating them.

Current debug message policy:

   o  D_STATES, D_ROUTES and D_FILTERS are handled in generic code.
   o  Other debug flags should be handled in the protocols and whenever
      the flag is set, the corresponding messages should be printed
      using calls to log(L_TRACE, ...), each message prefixed with
      the name of the protocol instance. These messages should cover
      the whole normal operation of the protocol and should be useful
      for an administrator trying to understand what does the protocol
      behave on his network or who is attempting to diagnose network
      problems. If your messages don't fit to the categories I've defined,
      feel free to add your own ones (by adding them to protocol.h
      and on two places in nest/config.Y), but please try to keep the
      categories as general as possible (i.e., not tied to your protocol).
   o  Internal debug messages not interesting even to an experienced
      user should be printed by calling DBG() which is either void or
      a call to debug() depending on setting of the LOCAL_DEBUG symbol
      at the top of your source.
   o  Dump functions (proto->dump etc.) should call debug() to print
      their messages.
   o  If you are doing any internal consistency checks, use ASSERT
      or bug().
   o  Nobody shall ever call printf() or any other stdio functions.

Also please try to log any protocol errors you encounter and tag them
with the appropriate message category (usually L_REMOTE or L_AUTH). Always
carefully check contents of any message field you receive and verify all
IP addresses you work with (by calling ipa_classify() or by using the
neighbour cache if you want to check direct connectedness as well).
2000-03-07 20:49:48 +00:00
..
bird.h Converted shutdown to a kind of reconfiguration, it's no more handled 2000-01-16 17:40:26 +00:00
cli.c Enabled short continuations. 2000-03-04 21:26:19 +00:00
cli.h Split off general commands to cmds.c. 2000-01-19 12:30:19 +00:00
cmds.c Split off general commands to cmds.c. 2000-01-19 12:30:19 +00:00
cmds.h Split off general commands to cmds.c. 2000-01-19 12:30:19 +00:00
config.Y Added protocol debugging flags (protocol.h: D_xxx), parsing of them 2000-03-07 20:49:48 +00:00
iface.c Reimplemented neighbor cache. Now uses real hashing. 2000-03-01 14:51:47 +00:00
iface.h Reimplemented neighbor cache. Now uses real hashing. 2000-03-01 14:51:47 +00:00
locks.c Added universal locking mechanism which will solve problems 1999-12-09 18:54:20 +00:00
locks.h Added universal locking mechanism which will solve problems 1999-12-09 18:54:20 +00:00
Makefile Reimplemented neighbor cache. Now uses real hashing. 2000-03-01 14:51:47 +00:00
neighbor.c Reimplemented neighbor cache. Now uses real hashing. 2000-03-01 14:51:47 +00:00
password.c Obvious bugs in authentication fixed. 1999-10-02 10:44:48 +00:00
password.h Added password_strncpy() which pads destination with zeros. 1999-05-31 19:15:52 +00:00
proto.c Added protocol debugging flags (protocol.h: D_xxx), parsing of them 2000-03-07 20:49:48 +00:00
protocol.h Added protocol debugging flags (protocol.h: D_xxx), parsing of them 2000-03-07 20:49:48 +00:00
route.h Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning. 2000-03-04 22:30:44 +00:00
rt-attr.c Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning. 2000-03-04 22:30:44 +00:00
rt-dev.c Rewrote interface type detection logic. The `unnumbered' flag is now per 2000-02-29 23:19:52 +00:00
rt-dev.h Implemented new configuration/reconfiguration interface and defined protocol 1999-02-05 21:37:34 +00:00
rt-fib.c Oops, previous modification for passing NULL to fib_init() did not 1998-12-22 19:20:43 +00:00
rt-table.c Garbage collector events and counters are now per table and one day 2000-03-04 22:21:06 +00:00