Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSCore/
DmDNS.c5491 mDNSu8 pktdata[256], *pktptr = pktdata, *pktend; 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()
5501 if (pktptr >= pktend) return(+1); // Packet data ran out first; We won 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()