Lines Matching defs:nlen
350 * with length 'nlen'
354 lookup_bytestring(register const u_char *bs, const unsigned int nlen)
359 if (nlen >= 6) {
363 } else if (nlen >= 4) {
375 memcmp((const char *)bs, (const char *)(tp->e_bs), nlen) == 0)
384 tp->e_bs = (u_char *) calloc(1, nlen + 1);
385 memcpy(tp->e_bs, bs, nlen);
399 unsigned int nlen = *nsap;
401 const u_char *ensap = nsap + nlen - 6;
403 if (nlen > 6) {
416 tp->e_nsap[0] == nlen &&
418 (char *)&(tp->e_nsap[1]), nlen) == 0)
425 tp->e_nsap = (u_char *)malloc(nlen + 1);
428 memcpy((char *)tp->e_nsap, (const char *)nsap, nlen + 1);