Searched refs:nsap_length (Results 1 – 1 of 1) sorted by relevance
422 register u_int nsap_length) in lookup_nsap() argument428 if (nsap_length > 6) { in lookup_nsap()429 ensap = nsap + nsap_length - 6; in lookup_nsap()439 if (nsap_length == tp->e_nsap[0] && in lookup_nsap()444 (char *)&(tp->e_nsap[1]), nsap_length) == 0) in lookup_nsap()451 tp->e_nsap = (u_char *)malloc(nsap_length + 1); in lookup_nsap()454 tp->e_nsap[0] = (u_char)nsap_length; /* guaranteed < ISONSAP_MAX_LENGTH */ in lookup_nsap()455 memcpy((char *)&tp->e_nsap[1], (const char *)nsap, nsap_length); in lookup_nsap()662 register u_int nsap_length) in isonsap_string() argument668 if (nsap_length < 1 || nsap_length > ISONSAP_MAX_LENGTH) in isonsap_string()[all …]