221135d6bf
Include "lib/string.h" instead of <string.h>. It should give us bzero()
...
and other non-portable functions on all systems.
2000-03-31 23:30:21 +00:00
0a06a9b8b3
f_run gets one more parameter to distinguish between in and out modes.
2000-03-29 09:02:00 +00:00
995e5894cd
1 less shift/reduce conflict
...
print now takes arguments separated by ,
[ 1.2.3.0/24 .. 3.4.5.0/8 ] is now forbidden
[ 1.2.3.0/8 ] now actually works
2000-03-09 14:47:43 +00:00
e4a73dbfcb
CONST() is now gone
2000-03-09 13:21:40 +00:00
9f4929e749
Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.
2000-03-04 22:30:44 +00:00
a58dad6238
Please *think* when defining operator priorities.
...
(-: num_of_parser_conflicts -= 42 :-)
2000-03-04 21:19:10 +00:00
d4d7562806
Avoid being exponential, do not allow ! =
2000-03-02 22:23:18 +00:00
31e79264a2
tmp_attrs fixed.
...
I do not know if it is right since mj ingores talk once started :-(.
2000-03-01 14:31:31 +00:00
db1326aa5e
Dynamic attributes are now declared in per-protocol grammar files instead
...
of filter/config.Y. Bird now compiles even if you disable RIP.
Removed RTA and IMPOSSIBLE tokens (unused).
Removed superfluous comment in filter.h.
I've tried to do my best, but Pavel, please check these changes.
2000-03-01 11:32:23 +00:00
2d496d2028
Get rid of 'ab'-s, added return to functions.
2000-02-25 11:15:26 +00:00
70844a6a46
Updated docs about filters, and added fixme.
2000-01-26 21:28:53 +00:00
60d7d10e6f
Added fixme.
1999-12-18 20:39:53 +00:00
2e18b87dcf
Disallow rta.net syntax.
1999-12-08 12:51:26 +00:00
6c14255dd6
Make rta. syntax optional.
1999-12-08 10:15:51 +00:00
430da60fa2
Implemented `show route where <condition>' command.
...
Pavel, please check my addition to filter/config.Y.
1999-12-02 14:04:44 +00:00
6781e5213b
FIXME's cleaned up: I have actually fixed things without killing
...
comments.
There are no urgent FIXME's in filters. Perhaps we should start with
documentation?
1999-12-01 11:39:58 +00:00
4aa885a53c
Filters: fix rta access to use ->aux field.
1999-11-25 13:42:49 +00:00
455ca441d9
Check that prefixes are really prefixes + fix config file to
...
comply. (:-( 1.2.3.4/8 looks nicer than 1.0.0.0/8).
1999-11-24 12:16:31 +00:00
8f013d9ca4
Sorry, previous commit did not even compile.
1999-11-24 12:09:58 +00:00
48f9e01954
Filters: write access to dynamic attributes should actually work. It
...
would be nice to find method of testing such beasts.
1999-11-24 12:04:32 +00:00
f31156ca21
Filters: first parts of extended attributes being read-write. It can
...
not actually work since I do not do rta/rte cow, yet.
1999-11-18 14:29:10 +00:00
c7b43f33ae
Split inst->code into inst->code and inst->aux. Both are only 16 bit,
...
so aux is suitable for storing type but not much more.
1999-11-18 14:01:36 +00:00
346a12c210
You can now print enum.
1999-11-18 13:21:52 +00:00
fd54b60266
ENUM's are now recognized as constants.
1999-11-15 11:36:09 +00:00
4515bdba4f
Fixed order of arguments for function call.
...
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 13:55:39 +00:00
4ed8718a19
Shift/reduce conflict goes away _and_ if/then/else works.
1999-11-11 13:27:59 +00:00
1183b6b229
Enums do not work, this is testcase.
1999-11-10 13:59:13 +00:00
cb8034f42c
First try on enumerational types.
...
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 13:44:29 +00:00
2f702671b4
No more shift/reduce conflicts.
1999-11-10 13:07:18 +00:00
4995564570
Shift/reduce conflicts in IF/THEN/ELSE rules solved.
1999-11-10 13:05:57 +00:00
f453665704
Enumerational types, defined keyword added.
1999-11-10 12:44:07 +00:00
3c989eb4a7
Fixed comments about shift/reduce conflicts.
1999-11-04 14:05:40 +00:00
ae3e1af2a8
Add possibility of local variables.
1999-11-04 14:03:45 +00:00
91447965fe
Possibility to access first extended attributes.
1999-11-04 13:33:30 +00:00
6dc7a0cb39
Filters now do not allow function (int arg; int arg2; ).
1999-11-03 22:23:01 +00:00
41be4444f2
switch() { } done right.
1999-10-28 21:03:36 +00:00
d3dd620b96
Filters: permit variables of prefix types, cleanup around
...
variables. TODO list added, hopefully complete. Use new features of
filters in bird.conf
1999-10-12 06:27:42 +00:00
720d911d77
Added constants of type prefix and pair, added their printing
1999-10-07 14:10:08 +00:00
c9f8c1a855
FIXME's added. Hopefully fixme list is now complete for filters.
1999-10-07 13:38:26 +00:00
7db7b7db60
Case arg { 1: printf "one"; } works. You can not use two commands
...
after one label, yet.
1999-09-29 14:24:58 +00:00
6542ece91a
Function calling in filters works - somehow. Calling syntax is
...
currently very ugly, beware. Variables are not really local - that
needs to be fixed.
1999-07-01 09:11:21 +00:00
4107df1d1b
Implemented two new symbol handling functions:
...
o cf_define_symbol() -- it assigns a meaning to a symbol, bailing
out if it already has one.
o cf_find_symbol() -- finds symbol by name and creates it if not found.
Also modified filter/config.Y to make use of the first function.
1999-05-17 20:06:19 +00:00
36bbfc704c
Updated filters: they now actually see IP/pxlen of net being filtered,
...
gateway, and who told us, so they can do usefull jobs from now on.
1999-04-19 18:41:56 +00:00
38506f71b0
Sets of integers now actually work. Sets of IP will work as soon as
...
compare function is ready.
1999-04-12 19:58:18 +00:00
2db3b2887e
Decrease number of warnings.
1999-04-10 09:45:08 +00:00
23b1539bf9
Filters upgraded - a bit. Moved code to filter.c because it is where
...
it belongs. (f-util.c stays there for auxiliary and non-important things.)
1999-04-07 12:11:08 +00:00
ba92164871
Update of filters towards new interface.
1999-03-29 20:21:28 +00:00
e0f2e42f4f
A couple of filter tweaks:
...
o Introduced struct filter which serves as an external reference
to filter. Using struct symbol for this is unwise since it doesn't
allow extra information attached to the filter and it also forces
all filters to be named.
o Implemented config rule 'filter' which matches either named filter
or an embedded unnamed filter (`{ <filter> }').
o Fixed totally bogus comment at the top of filter.h.
o Added a missing prototype for f_run() to filter.h.
1999-03-17 14:29:39 +00:00
d36d838df5
accept & reject should now work
1999-03-17 10:19:07 +00:00
2575593e0f
Resolved conflicts, you no longer need to wrap constants in const()
1999-03-09 14:45:27 +00:00