• Home
  • Raw
  • Download

Lines Matching refs:optlen

384 		u_int optlen;  in dccp_print()  local
391 optlen = dccp_print_option(cp); in dccp_print()
392 if (!optlen) goto trunc2; in dccp_print()
393 if (hlen <= optlen) break; in dccp_print()
394 hlen -= optlen; in dccp_print()
395 cp += optlen; in dccp_print()
409 u_int8_t optlen, i; in dccp_print_option() local
418 optlen = *(option +1); in dccp_print_option()
419 if (optlen < 2) { in dccp_print_option()
423 } else optlen = 1; in dccp_print_option()
425 TCHECK2(*option,optlen); in dccp_print_option()
441 for (i = 0; i < optlen -3; i ++) printf(" %d", *(option +3 + i)); in dccp_print_option()
448 for (i = 0; i < optlen -3; i ++) printf(" %d", *(option +3 + i)); in dccp_print_option()
455 for (i = 0; i < optlen -3; i ++) printf(" %d", *(option +3 + i)); in dccp_print_option()
462 for (i = 0; i < optlen -3; i ++) printf(" %d", *(option +3 + i)); in dccp_print_option()
467 for (i = 0; i < optlen -2; i ++) printf("%02x", *(option +2 + i)); in dccp_print_option()
471 for (i = 0; i < optlen -2; i ++) printf(" %d", *(option +2 + i)); in dccp_print_option()
475 for (i = 0; i < optlen -2; i ++) printf("%02x", *(option +2 + i)); in dccp_print_option()
479 for (i = 0; i < optlen -2; i ++) printf("%02x", *(option +2 + i)); in dccp_print_option()
483 for (i = 0; i < optlen -2; i ++) printf("%02x", *(option +2 + i)); in dccp_print_option()
495 if (optlen == 6){ in dccp_print_option()
505 for (i = 0; i < optlen -2; i ++) printf("%02x", *(option +2 + i)); in dccp_print_option()
510 switch (optlen) { in dccp_print_option()
529 return optlen; in dccp_print_option()