Add ifdef for broadcast address ip.v4 and ip.v6