linux: rework usage of defines w.r.t. IPv6 tunnel