linux.c: Do NAT detection using address-independent machinery.