DS_PORT_IN_SET
if (DS_PORT_IN_SET(svc->tried, i))
if (!DS_PORT_IN_SET(totry, portid)) {
if (!DS_PORT_IN_SET(svc->avail, PORTID(port)))
if (DS_PORT_IN_SET(svc->tried, PORTID(port)))
if (DS_PORT_IN_SET(svc->tried, idx))
if (!DS_PORT_IN_SET(ports, idx)) {
if (DS_PORT_IN_SET(ds_allports, idx)) {
if (port_id >= DS_MAX_PORTS || !DS_PORT_IN_SET(ds_allports, port_id)) {