summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
1999-12-01Implemented get_status for the pipe protocol (reports name of the otherMartin Mares
side of the pipe). Please do so for your protocols as well.
1999-12-01`show protocols' now shows time of last state change and protocol-dependentMartin Mares
status information (obtained via newly introduced hook protocol->get_status).
1999-12-01Introduced new protocol-dependent integer field `aux' to struct neighbor.Martin Mares
1999-12-01Added tm_format_reltime() for formatting of relative time quantities.Martin Mares
1999-12-01FIXME's cleaned up: I have actually fixed things without killingPavel Machek
comments. There are no urgent FIXME's in filters. Perhaps we should start with documentation?
1999-12-01Use linux-22 configuration with all 2.2.x and 2.3.x kernels. This meansMartin Mares
you need to have your kernel compiled with netlink routing messages enabled. If it doesn't work for you, use --with-sysconfig=linux-21 and let me know what's going wrong.
1999-11-30Remember protocol instance in proto_config and use that forMartin Mares
`show protocols <name>'.
1999-11-30Lexer supports fallback symbol tables and uses them to recognizeMartin Mares
symbols from global config when parsing CLI commands. cf_lex_init_tables() is now called automatically inside the lexer.
1999-11-30Use TIME_INFINITY for initialization of password entries insteadMartin Mares
of 2000000000 (BTW who wrote that???)
1999-11-30Moved TIME_INFINITY to timer.h, so that it's publicly available.Martin Mares
1999-11-30`show interfaces' and `show protocols' works.Martin Mares
1999-11-30Don't use continuation shortcuts until real client is written.Martin Mares
1999-11-30Inicialisation of Topology Graph (TG).Ondrej Filip
1999-11-25Added few basic commands: show status, show interfaces [summary],Martin Mares
show protocols (incomplete).
1999-11-25cli_msg() moved to cli.h, so that it can be used outside the parser.Martin Mares
1999-11-25Added ip_scope_text() for translating of scopes to strings.Martin Mares
1999-11-25md5 authentication seems to work.Pavel Machek
1999-11-25Bugfixes: select right password for password authentication, do notPavel Machek
try to process authentication blocks as datablocks, make it possible to add data at end of packet. Password authentication should actually work.
1999-11-25Filters: fix rta access to use ->aux field.Pavel Machek
1999-11-25Triggered updates should now actually work. Fixed metric=16 -> time itPavel Machek
out logic.
1999-11-25Fix timeouts. Triggered updates are not done, yet.Pavel Machek
1999-11-24Check that prefixes are really prefixes + fix config file toPavel Machek
comply. (:-( 1.2.3.4/8 looks nicer than 1.0.0.0/8).
1999-11-24Sorry, previous commit did not even compile.Pavel Machek
1999-11-24Filters: write access to dynamic attributes should actually work. ItPavel Machek
would be nice to find method of testing such beasts.
1999-11-18More CLI plans...Martin Mares
1999-11-18Allow EA type to be set to 'undefined' which overrides all further definitonsMartin Mares
of that EA in the same list and causes ea_find() to fail unless you add EA_ALLOW_UNDEF to the second argument. ea_sort (resp. ea_do_prune()) removes all undef'd attributes from the list. I hope this works :)
1999-11-18Filters: first parts of extended attributes being read-write. It canPavel Machek
not actually work since I do not do rta/rte cow, yet.
1999-11-18Split inst->code into inst->code and inst->aux. Both are only 16 bit,Pavel Machek
so aux is suitable for storing type but not much more.
1999-11-18DEF_PREF_UKR and DEF_PREF_SINK removed.Martin Mares
1999-11-18You can now print enum.Pavel Machek
1999-11-17ospf.c and ospc.h splitted into various files.Ondrej Filip
1999-11-17Added skeleton of command tree. Please inspect.Martin Mares
1999-11-17Another bugfix. (In EXCHANGE state.)Ondrej Filip
1999-11-17Fixed bug receiving dbdes packets in EXSTART state.Ondrej Filip
1999-11-17Added some temporary examples of how to define CLI commands (search for CF_CLI).Martin Mares
To define a new command, just add a new rule to the gramar: CF_CLI(COMMAND NAME, arguments, help-args, help-text) { what-should-the-command-do } ; where <arguments> are appended to the RHS of the rule, <help-args> is the argument list as shown in the help and <help-text> is description of the command for the help. <what-should-the-command-do> is a C code snippet to be executed. It should not take too much time to execute. If you want to print out a lot of information, you can schedule a routine to be called after the current buffer is flushed by making cli->cont point to the routine (see the TEST LONG command definition for an example); if the connection is closed in the meantime, cli->cleanup gets called. You can access `struct cli' belonging to the connection you're currently servicing as this_cli, but only during parse time, not from routines scheduled for deferred execution. Functions to call inside command handlers: cli_printf(cli, code, printf-args) -- print text to CLI connection, <code> is message code as assigned in doc/reply_codes or a negative one if it's a continuation line. cli_msg(code, printf-args) -- the same for this_cli. Use 'sock -x bird.ctl' for connecting to the CLI until a client is written.
1999-11-17If the main event queue is not empty, call select() with zero timeout, soMartin Mares
that the events are ran again after the FD's are checked. This allows us to schedule I/O checks between processing of user commands.
1999-11-17ev_run() now returns whether the event has been requeued or not.Martin Mares
ev_run_list() now returns number of events which remain in the list.
1999-11-17Command line interface now works.Martin Mares
1999-11-17Commented out nexthop selection, see the comment.Martin Mares
1999-11-15An example of how to define enums.Martin Mares
1999-11-15ENUM's are now recognized as constants.Martin Mares
1999-11-15Defined CF_ENUM.Martin Mares
1999-11-15SYM_STAT is gone.Martin Mares
1999-11-11Fixed order of arguments for function call.Pavel Machek
Enumeration types should work once CF_ENUM() is ready. Created test.conf for testing of filters. (I'm currently thinking about ./tests in root directory which will just fire all available tests...)
1999-11-11Shift/reduce conflict goes away _and_ if/then/else works.Pavel Machek
1999-11-10Sending DBDES packet in EXSTART done.Ondrej Filip
1999-11-10Enums do not work, this is testcase.Pavel Machek
1999-11-10First try on enumerational types.Pavel Machek
Mj's noassoc removed: this brings back shift/reduce conflict but it makes parser actually work. Mj please check it. IF/THEN/ELSE still will not work.
1999-11-10No more shift/reduce conflicts.Pavel Machek
1999-11-10Shift/reduce conflicts in IF/THEN/ELSE rules solved.Martin Mares