diff options
author | Martin Mares <mj@ucw.cz> | 1998-06-01 21:36:58 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-06-01 21:36:58 +0000 |
commit | 0fe3b28b68f10a32f3fe43e8221559a72be5ca28 (patch) | |
tree | 3ad21f20008709e91afdd2c50420732c3f24fc31 /lib/ipv4.h | |
parent | af847acc27978cf48721aafbacab70e48f42ede7 (diff) |
Added ipa_xor() and ipa_in_net().
Diffstat (limited to 'lib/ipv4.h')
-rw-r--r-- | lib/ipv4.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ typedef u32 ip_addr; #define ipa_nonzero(x) _I(x) #define ipa_and(x,y) _MI(_I(x) & _I(y)) #define ipa_or(x,y) _MI(_I(x) | _I(y)) +#define ipa_xor(x,y) _MI(_I(x) ^ _I(y)) #define ipa_not(x) _MI(~_I(x)) #define ipa_mkmask(x) _MI(u32_mkmask(x)) #define ipa_mklen(x) u32_masklen(_I(x)) |