summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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
1999-11-10Enumerational types, defined keyword added.Pavel Machek
1999-11-10Added LSA hashing table (parts of code stolen from rt-fib.c, butMartin Mares
heavily simplified since we don't need asynchronous walking).
1999-11-10Added timeout for routes (which means proper expiring of routes) addedPavel Machek
few fixmes.
1999-11-10Added project status report for KSVI.Martin Mares
1999-11-04FIXME's updated. One fixme is remaining for correct RIPv4. Wow.Pavel Machek
1999-11-04Reject packets which are not authenticated.Pavel Machek
Set correct nexthop on outgoing packets.
1999-11-04Fixed comments about shift/reduce conflicts.Pavel Machek
1999-11-04Add possibility of local variables.Pavel Machek
1999-11-04Use local variables to test that functionality.Pavel Machek
1999-11-04Silly bug.Martin Mares
1999-11-04Symbols are not scoped.Martin Mares
1999-11-04Possibility to access first extended attributes.Pavel Machek