shared v4/v6 code isolated