Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientlib.c93 #define mdnsIsDigit(X) ((X) >= '0' && (X) <= '9') macro
101 if (mdnsIsDigit(dom[1]) && mdnsIsDigit(dom[2]) && mdnsIsDigit(dom[3])) in DomainEndsInDot()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.h222 #define mdnsIsDigit(X) ((X) >= '0' && (X) <= '9') macro
227 #define mdnsValidHostChar(X, notfirst, notlast) (mdnsIsLetter(X) || mdnsIsDigit(X) || ((notfirst) &…
H A DDNSCommon.c703 if (mdnsIsDigit(cstr[-1]) && mdnsIsDigit(cstr[0]) && mdnsIsDigit(cstr[1])) in AppendDNSNameString()
923 if (!mdnsIsLetter(src[i]) && !mdnsIsDigit(src[i]) && src[i] != '-' && src[i] != '_') in ConstructServiceName()
1044 if (!mdnsIsDigit(name->c[l])) return mDNSfalse; // Preceeded by a digit in LabelContainsSuffix()
1046 while (l > 2 && mdnsIsDigit(name->c[l])) l--; // Strip off digits in LabelContainsSuffix()
1052 if (!mdnsIsDigit(name->c[l])) return mDNSfalse; // Last char must be a digit in LabelContainsSuffix()
1054 while (l > 2 && mdnsIsDigit(name->c[l])) l--; // Strip off digits in LabelContainsSuffix()
1070 while (mdnsIsDigit(name->c[name->c[0]])) in RemoveLabelSuffix()