Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-11-25 | Filters: fix rta access to use ->aux field. | Pavel Machek | |
1999-11-25 | Triggered updates should now actually work. Fixed metric=16 -> time it | Pavel Machek | |
out logic. | |||
1999-11-25 | Fix timeouts. Triggered updates are not done, yet. | Pavel Machek | |
1999-11-24 | Check that prefixes are really prefixes + fix config file to | Pavel Machek | |
comply. (:-( 1.2.3.4/8 looks nicer than 1.0.0.0/8). | |||
1999-11-24 | Sorry, previous commit did not even compile. | Pavel Machek | |
1999-11-24 | Filters: write access to dynamic attributes should actually work. It | Pavel Machek | |
would be nice to find method of testing such beasts. | |||
1999-11-18 | More CLI plans... | Martin Mares | |
1999-11-18 | Allow EA type to be set to 'undefined' which overrides all further definitons | Martin 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-18 | Filters: first parts of extended attributes being read-write. It can | Pavel Machek | |
not actually work since I do not do rta/rte cow, yet. | |||
1999-11-18 | Split 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-18 | DEF_PREF_UKR and DEF_PREF_SINK removed. | Martin Mares | |
1999-11-18 | You can now print enum. | Pavel Machek | |
1999-11-17 | ospf.c and ospc.h splitted into various files. | Ondrej Filip | |
1999-11-17 | Added skeleton of command tree. Please inspect. | Martin Mares | |
1999-11-17 | Another bugfix. (In EXCHANGE state.) | Ondrej Filip | |
1999-11-17 | Fixed bug receiving dbdes packets in EXSTART state. | Ondrej Filip | |
1999-11-17 | Added 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-17 | If the main event queue is not empty, call select() with zero timeout, so | Martin 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-17 | ev_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-17 | Command line interface now works. | Martin Mares | |
1999-11-17 | Commented out nexthop selection, see the comment. | Martin Mares | |
1999-11-15 | An example of how to define enums. | Martin Mares | |
1999-11-15 | ENUM's are now recognized as constants. | Martin Mares | |
1999-11-15 | Defined CF_ENUM. | Martin Mares | |
1999-11-15 | SYM_STAT is gone. | Martin Mares | |
1999-11-11 | Fixed 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-11 | Shift/reduce conflict goes away _and_ if/then/else works. | Pavel Machek | |
1999-11-10 | Sending DBDES packet in EXSTART done. | Ondrej Filip | |
1999-11-10 | Enums do not work, this is testcase. | Pavel Machek | |
1999-11-10 | First 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-10 | No more shift/reduce conflicts. | Pavel Machek | |
1999-11-10 | Shift/reduce conflicts in IF/THEN/ELSE rules solved. | Martin Mares | |
1999-11-10 | Enumerational types, defined keyword added. | Pavel Machek | |
1999-11-10 | Added LSA hashing table (parts of code stolen from rt-fib.c, but | Martin Mares | |
heavily simplified since we don't need asynchronous walking). | |||
1999-11-10 | Added timeout for routes (which means proper expiring of routes) added | Pavel Machek | |
few fixmes. | |||
1999-11-10 | Added project status report for KSVI. | Martin Mares | |
1999-11-04 | FIXME's updated. One fixme is remaining for correct RIPv4. Wow. | Pavel Machek | |
1999-11-04 | Reject packets which are not authenticated. | Pavel Machek | |
Set correct nexthop on outgoing packets. | |||
1999-11-04 | Fixed comments about shift/reduce conflicts. | Pavel Machek | |
1999-11-04 | Add possibility of local variables. | Pavel Machek | |
1999-11-04 | Use local variables to test that functionality. | Pavel Machek | |
1999-11-04 | Silly bug. | Martin Mares | |
1999-11-04 | Symbols are not scoped. | Martin Mares | |
1999-11-04 | Possibility to access first extended attributes. | Pavel Machek | |
1999-11-04 | Renamed attr->attrs to attr->eattrs. | Martin Mares | |
1999-11-03 | Filters now do not allow function (int arg; int arg2; ). | Pavel Machek | |
1999-11-03 | You should not follow next two times. | Pavel Machek | |
1999-11-03 | Working on db des receiving. | Ondrej Filip | |
Preparing for building LDA database. | |||
1999-10-31 | Started a list of CLI reply codes. | Martin Mares | |
1999-10-31 | Parse CLI commands. We use the same parser as for configuration files (because | Martin Mares | |
we want to allow filter and similar complex constructs to be used in commands and we should avoid code duplication), only with CLI_MARKER token prepended before the whole input. Defined macro CF_CLI(cmd, args, help) for defining CLI commands in .Y files. The first argument specifies the command itself, the remaining two arguments are copied to the help file (er, will be copied after the help file starts to exist). This macro automatically creates a skeleton rule for the command, you only need to append arguments as in: CF_CLI(STEAL MONEY, <$>, [[Steal <$> US dollars or equivalent in any other currency]]): NUM { cli_msg(0, "%d$ stolen", $3); } ; Also don't forget to reset lexer state between inputs. |