Home
last modified time | relevance | path

Searched refs:ourptr (Results 1 – 1 of 1) sorted by relevance

/external/mdnsresponder/mDNSCore/
DmDNS.c5490 mDNSu8 ourdata[256], *ourptr = ourdata, *ourend; in CompareRData() local
5497 while (ourptr < ourend && pktptr < pktend && *ourptr == *pktptr) { ourptr++; pktptr++; } in CompareRData()
5498 if (ourptr >= ourend && pktptr >= pktend) return(0); // If data identical, not a conflict in CompareRData()
5500 if (ourptr >= ourend) return(-1); // Our data ran out first; We lost in CompareRData()
5502 if (*pktptr > *ourptr) return(-1); // Our data is numerically lower; We lost in CompareRData()
5503 if (*pktptr < *ourptr) return(+1); // Packet data is numerically lower; We won in CompareRData()