Lines Matching defs:ServName
54 * This hash use the first 14 letters of the ServName and the ServType
58 saphash(u_short ServType, char *ServName)
64 strncpy(name, ServName, SERVNAMELEN);
65 ServName = name;
75 hsh = hsh * SMVAL + *ServName++;
76 ServName++;
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);
106 (strncmp(ServName, sap->sap.ServName, SERVNAMELEN) == 0)) {
171 nsap->hash = saphash(si->ServType, si->ServName);
287 clone->ServName);
295 nsap->hash = saphash(clone->ServType, clone->ServName);