IPV4: use xor rather than multiple ands for route compare