0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Added ipa_opposite().

This commit is contained in:
Martin Mares 1998-05-26 21:36:48 +00:00
parent 5222c46ceb
commit d5417b379f

View File

@ -51,6 +51,7 @@ typedef u32 ip_addr;
#define ipa_hton(x) x = _MI(htonl(_I(x))) #define ipa_hton(x) x = _MI(htonl(_I(x)))
#define ipa_ntoh(x) x = _MI(ntohl(_I(x))) #define ipa_ntoh(x) x = _MI(ntohl(_I(x)))
#define ipa_classify(x) ipv4_classify(_I(x)) #define ipa_classify(x) ipv4_classify(_I(x))
#define ipa_opposite(x) _MI(_I(x) ^ 1)
int ipv4_classify(u32); int ipv4_classify(u32);