]>
git.ipfire.org Git - thirdparty/bird.git/blob - filter/f-util.c
b070d951fce7bcd25b5f45814adb9132409a1194
2 * Filters: utility functions
4 * Copyright 1998 Pavel Machek <pavel@ucw.cz>
6 * Can be freely distributed and used under the terms of the GNU GPL.
12 #include <sys/signal.h>
15 #include "nest/bird.h"
16 #include "lib/lists.h"
17 #include "lib/resource.h"
18 #include "lib/socket.h"
19 #include "nest/route.h"
20 #include "nest/protocol.h"
21 #include "nest/iface.h"
22 #include "conf/conf.h"
23 #include "filter/filter.h"
29 ret
= cfg_alloc(sizeof(struct f_inst
));
30 ret
->code
= ret
->aux
= 0;
31 ret
->arg1
= ret
->arg2
= ret
->next
= NULL
;
36 filter_name(struct filter
*filter
)
40 else if (filter
== FILTER_REJECT
)