• Home
  • Raw
  • Download

Lines Matching refs:act_len

423 decode_rep_zones(const uint8_t * rzBuff, int act_len, uint32_t decod_len,  in decode_rep_zones()  argument
433 if ((uint32_t)act_len < decod_len) { in decode_rep_zones()
434 num_zd = (act_len >= 64) ? ((act_len - 64) / REPORT_ZONES_DESC_LEN) in decode_rep_zones()
436 if (act_len == op->maxlen) { in decode_rep_zones()
468 if (((uint32_t)act_len < decod_len) && in decode_rep_zones()
469 ((num_zd * REPORT_ZONES_DESC_LEN) + 64 > act_len)) { in decode_rep_zones()
534 decode_rep_realms(const uint8_t * rzBuff, int act_len, in decode_rep_realms() argument
545 if (act_len < 12) { in decode_rep_realms()
546 pr2serr("need more than 12 bytes to decode, got %u\n", act_len); in decode_rep_realms()
551 if (act_len < 20) in decode_rep_realms()
561 if ((realms_count < 1) || (act_len < (64 + 16)) || (r_desc_len < 16)) { in decode_rep_realms()
569 pr2serr("actual_length (%u) too short\n", act_len); in decode_rep_realms()
573 derived_realms_count = (act_len - 64) / r_desc_len; in decode_rep_realms()
634 decode_rep_zdomains(const uint8_t * rzBuff, int act_len, in decode_rep_zdomains() argument
644 if (act_len < 12) { in decode_rep_zdomains()
645 pr2serr("need more than 12 bytes to decode, got %u\n", act_len); in decode_rep_zdomains()
653 if (act_len < 24) in decode_rep_zdomains()
1141 int res, c, act_len, rlen, in_len, off; in main() local
1458 act_len = rlen; in main()
1463 act_len = rlen; in main()
1471 act_len = decod_len; in main()
1473 dStrRaw(rzBuff, act_len); in main()
1477 hex2stdout(rzBuff, act_len, ((1 == op->do_hex) ? 1 : -1)); in main()
1483 if (act_len < 64) { in main()
1485 act_len); in main()
1490 ret = decode_rep_zones(rzBuff, act_len, decod_len, op, jsp); in main()
1492 ret = decode_rep_realms(rzBuff, act_len, op, jsp); in main()
1494 ret = decode_rep_zdomains(rzBuff, act_len, op, jsp); in main()