diff options
author | Martin Mares <mj@ucw.cz> | 1998-05-26 23:36:48 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-05-26 23:36:48 +0200 |
commit | d5417b379f05541418fb4f1ac87100ba8106b0c6 (patch) | |
tree | 8a16ddc3f0ae0aa6942d4e4017f4f07159f9398d /lib | |
parent | 5222c46ceb8035f2292c3a91f6ee85fbbed82c5e (diff) | |
download | bird-d5417b379f05541418fb4f1ac87100ba8106b0c6.tar bird-d5417b379f05541418fb4f1ac87100ba8106b0c6.zip |
Added ipa_opposite().
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ipv4.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ typedef u32 ip_addr; #define ipa_hton(x) x = _MI(htonl(_I(x))) #define ipa_ntoh(x) x = _MI(ntohl(_I(x))) #define ipa_classify(x) ipv4_classify(_I(x)) +#define ipa_opposite(x) _MI(_I(x) ^ 1) int ipv4_classify(u32); |