Searched refs:sps2 (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c3121 mDNSlocal void CheckAndSwapSPS(const CacheRecord **sps1, const CacheRecord **sps2) argument
3126 if (!(*sps1) || !(*sps2)) return;
3128 metric2 = SPSMetric((*sps2)->resrec.rdata->u.name.c);
3129 if (!SPSFeatures((*sps1)->resrec.rdata->u.name.c) && SPSFeatures((*sps2)->resrec.rdata->u.name.c) && (metric2 >= metric1))
3132 *sps1 = *sps2;
3133 *sps2 = swap_sps;

Completed in 110 milliseconds