- 24 Nov, 1999 2 commits
-
-
Pavel Machek authored
-
Pavel Machek authored
would be nice to find method of testing such beasts.
-
- 18 Nov, 1999 6 commits
-
-
Martin Mareš authored
-
Martin Mareš authored
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 :)
-
Pavel Machek authored
not actually work since I do not do rta/rte cow, yet.
-
Pavel Machek authored
so aux is suitable for storing type but not much more.
-
Martin Mareš authored
-
Pavel Machek authored
-
- 17 Nov, 1999 9 commits
-
-
Ondřej Filip authored
-
Martin Mareš authored
-
Ondřej Filip authored
-
Ondřej Filip authored
-
Martin Mareš authored
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.
-
Martin Mareš authored
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.
-
Martin Mareš authored
ev_run_list() now returns number of events which remain in the list.
-
Martin Mareš authored
-
Martin Mareš authored
-
- 15 Nov, 1999 4 commits
-
-
Martin Mareš authored
-
Martin Mareš authored
-
Martin Mareš authored
-
Martin Mareš authored
-
- 11 Nov, 1999 2 commits
-
-
Pavel Machek authored
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...)
-
Pavel Machek authored
-
- 10 Nov, 1999 9 commits
-
-
Ondřej Filip authored
-
Pavel Machek authored
-
Pavel Machek authored
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.
-
Pavel Machek authored
-
Martin Mareš authored
-
Pavel Machek authored
-
Martin Mareš authored
heavily simplified since we don't need asynchronous walking).
-
Pavel Machek authored
few fixmes.
-
Martin Mareš authored
-
- 04 Nov, 1999 8 commits
-
-
Pavel Machek authored
-
Pavel Machek authored
Set correct nexthop on outgoing packets.
-
Pavel Machek authored
-
Pavel Machek authored
-
Pavel Machek authored
-
Martin Mareš authored
-
Martin Mareš authored
-
Pavel Machek authored
-