1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

The library is now glued together from generic and OS-dependent parts

by the `mergedirs' script. Few more IP address manipulation functions
and some fixes.
This commit is contained in:
Martin Mares
1998-05-15 07:56:13 +00:00
parent 62aa008abd
commit 25697773b5
20 changed files with 152 additions and 30 deletions

View File

@@ -35,4 +35,10 @@
#define SCOPE_SITE 2
#define SCOPE_UNIVERSE 3
/*
* Is it a valid network prefix?
*/
#define ip_is_prefix(a,l) (!ipa_nonzero(ipa_and(a, ipa_not(ipa_mkmask(l)))))
#endif