• Home
  • Raw
  • Download

Lines Matching refs:nlen

130 l3ni1_dummy_return_result(struct PStack *st, int id, u_char *p, u_char nlen)  in l3ni1_dummy_return_result()  argument
146 ic.parm.ni1_io.datalen = nlen; in l3ni1_dummy_return_result()
155 l3_debug(st, "dummy return result id=0x%x result len=%d", id, nlen); in l3ni1_dummy_return_result()
197 int ident, u_char *p, u_char nlen) in l3ni1_dummy_invoke() argument
202 (cr == -1) ? "local" : "broadcast", id, ident, nlen); in l3ni1_dummy_invoke()
213 ic.parm.ni1_io.datalen = nlen; in l3ni1_dummy_invoke()
224 unsigned char nlen = 0, ilen, cp_tag; in l3ni1_parse_facility() local
268 nlen = *p++ & 0x7F; /* number of len bytes or indefinite */ in l3ni1_parse_facility()
269 if ((qd_len-- < ((!nlen) ? 3 : (1 + nlen))) || in l3ni1_parse_facility()
270 (nlen > 1)) in l3ni1_parse_facility()
274 if (nlen == 1) in l3ni1_parse_facility()
275 { nlen = *p++; /* complete length */ in l3ni1_parse_facility()
284 nlen = qd_len; in l3ni1_parse_facility()
288 { nlen = *p++; in l3ni1_parse_facility()
291 if (qd_len < nlen) in l3ni1_parse_facility()
295 qd_len -= nlen; in l3ni1_parse_facility()
297 if (nlen < 2) in l3ni1_parse_facility()
307 nlen--; in l3ni1_parse_facility()
314 nlen--; in l3ni1_parse_facility()
315 if (ilen > nlen || ilen == 0) in l3ni1_parse_facility()
319 nlen -= ilen; in l3ni1_parse_facility()
328 if (nlen < 2) { in l3ni1_parse_facility()
337 nlen--; in l3ni1_parse_facility()
339 nlen--; in l3ni1_parse_facility()
340 if (ilen > nlen || ilen == 0) { in l3ni1_parse_facility()
344 nlen -= ilen; in l3ni1_parse_facility()
353 l3ni1_dummy_invoke(st, cr, id, ident, p, nlen); in l3ni1_parse_facility()
362 l3ni1_dummy_return_result(st, id, p, nlen); in l3ni1_parse_facility()
377 if (nlen < 2) in l3ni1_parse_facility()
387 nlen--; in l3ni1_parse_facility()
394 nlen--; in l3ni1_parse_facility()
395 if (ilen > nlen || ilen == 0) in l3ni1_parse_facility()
399 nlen -= ilen; in l3ni1_parse_facility()