Lines Matching defs:nsap
397 /* Find the hash node that corresponds the NSAP 'nsap' */
400 lookup_nsap(register const u_char *nsap)
403 unsigned int nlen = *nsap;
405 const u_char *ensap = nsap + nlen - 6;
421 memcmp((const char *)&(nsap[1]),
432 memcpy((char *)tp->e_nsap, (const char *)nsap, nlen + 1);
632 isonsap_string(const u_char *nsap, register u_int nsap_length)
641 tp = lookup_nsap(nsap);
650 *cp++ = hex[*nsap >> 4];
651 *cp++ = hex[*nsap++ & 0xf];