diff options
Diffstat (limited to 'lib/ip.h')
-rw-r--r-- | lib/ip.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,8 @@ #include "ipv6.h" #endif +#define ipa_in_net(x,n,p) (!ipa_nonzero(ipa_and(ipa_xor((n),(x)),ipa_mkmask(p)))) + /* * ip_classify() returns either a negative number for invalid addresses * or scope OR'ed together with address type. |