Lines Matching refs:ServType
54 * This hash use the first 14 letters of the ServName and the ServType
58 saphash(u_short ServType, char *ServName)
71 hsh = hsh * SMVAL + (ServType & 0xff);
72 hsh = hsh * SMVAL + (ServType >> 8);
85 * Look for an exact match on ServType and ServName. It is
94 sap_lookup(u_short ServType, char *ServName)
100 hsh = saphash(ServType, ServName);
105 (ServType == sap->sap.ServType) &&
124 sap_nearestserver(ushort ServType, struct interface *ifp)
135 if (ServType != sap->sap.ServType)
171 nsap->hash = saphash(si->ServType, si->ServName);
286 ntohs(clone->ServType),
295 nsap->hash = saphash(clone->ServType, clone->ServName);