• Home
  • Raw
  • Download

Lines Matching refs:nlen

131 l3dss1_dummy_return_result(struct PStack *st, int id, u_char *p, u_char nlen)  in l3dss1_dummy_return_result()  argument
147 ic.parm.dss1_io.datalen = nlen; in l3dss1_dummy_return_result()
156 l3_debug(st, "dummy return result id=0x%x result len=%d", id, nlen); in l3dss1_dummy_return_result()
198 int ident, u_char *p, u_char nlen) in l3dss1_dummy_invoke() argument
203 (cr == -1) ? "local" : "broadcast", id, ident, nlen); in l3dss1_dummy_invoke()
214 ic.parm.dss1_io.datalen = nlen; in l3dss1_dummy_invoke()
225 unsigned char nlen = 0, ilen, cp_tag; in l3dss1_parse_facility() local
269 nlen = *p++ & 0x7F; /* number of len bytes or indefinite */ in l3dss1_parse_facility()
270 if ((qd_len-- < ((!nlen) ? 3 : (1 + nlen))) || in l3dss1_parse_facility()
271 (nlen > 1)) in l3dss1_parse_facility()
275 if (nlen == 1) in l3dss1_parse_facility()
276 { nlen = *p++; /* complete length */ in l3dss1_parse_facility()
285 nlen = qd_len; in l3dss1_parse_facility()
289 { nlen = *p++; in l3dss1_parse_facility()
292 if (qd_len < nlen) in l3dss1_parse_facility()
296 qd_len -= nlen; in l3dss1_parse_facility()
298 if (nlen < 2) in l3dss1_parse_facility()
308 nlen--; in l3dss1_parse_facility()
315 nlen--; in l3dss1_parse_facility()
316 if (ilen > nlen || ilen == 0) in l3dss1_parse_facility()
320 nlen -= ilen; in l3dss1_parse_facility()
329 if (nlen < 2) { in l3dss1_parse_facility()
338 nlen--; in l3dss1_parse_facility()
340 nlen--; in l3dss1_parse_facility()
341 if (ilen > nlen || ilen == 0) { in l3dss1_parse_facility()
345 nlen -= ilen; in l3dss1_parse_facility()
353 { l3dss1_dummy_invoke(st, cr, id, ident, p, nlen); in l3dss1_parse_facility()
360 while (nlen > 1) { \ in l3dss1_parse_facility()
362 if (nlen < ilen + 2) { \ in l3dss1_parse_facility()
366 nlen -= ilen + 2; \ in l3dss1_parse_facility()
368 int nlen = ilen; \ in l3dss1_parse_facility()
380 nlen = (nlen) ? nlen : 0; /* Make gcc happy */ in l3dss1_parse_facility()
403 nlen = (nlen) ? nlen : 0; /* Make gcc happy */ in l3dss1_parse_facility()
433 l3dss1_dummy_return_result(st, id, p, nlen); in l3dss1_parse_facility()
448 if (nlen < 2) in l3dss1_parse_facility()
458 nlen--; in l3dss1_parse_facility()
465 nlen--; in l3dss1_parse_facility()
466 if (ilen > nlen || ilen == 0) in l3dss1_parse_facility()
470 nlen -= ilen; in l3dss1_parse_facility()