Lines Matching refs:option

531 dccp_print_option(netdissect_options *ndo, const u_char *option, u_int hlen)  in dccp_print_option()  argument
535 if (GET_U_1(option) >= 32) { in dccp_print_option()
536 optlen = GET_U_1(option + 1); in dccp_print_option()
538 if (GET_U_1(option) >= 128) in dccp_print_option()
540 GET_U_1(option)); in dccp_print_option()
543 tok2str(dccp_option_values, "Option %u", GET_U_1(option))); in dccp_print_option()
550 if (GET_U_1(option) >= 128) in dccp_print_option()
552 GET_U_1(option)); in dccp_print_option()
555 tok2str(dccp_option_values, "Option %u", GET_U_1(option))); in dccp_print_option()
558 ND_TCHECK_LEN(option, optlen); in dccp_print_option()
560 if (GET_U_1(option) >= 128) { in dccp_print_option()
561 ND_PRINT("CCID option %u", GET_U_1(option)); in dccp_print_option()
564 ND_PRINT(" %u", GET_BE_U_2(option + 2)); in dccp_print_option()
567 ND_PRINT(" %u", GET_BE_U_4(option + 2)); in dccp_print_option()
574 tok2str(dccp_option_values, "Option %u", GET_U_1(option))); in dccp_print_option()
575 switch (GET_U_1(option)) { in dccp_print_option()
584 if (GET_U_1(option + 2) < 10){ in dccp_print_option()
586 dccp_feature_nums[GET_U_1(option + 2)]); in dccp_print_option()
589 GET_U_1(option + 3 + i)); in dccp_print_option()
597 GET_U_1(option + 2 + i)); in dccp_print_option()
602 ND_PRINT(" %u", GET_U_1(option + 2 + i)); in dccp_print_option()
609 GET_U_1(option + 2 + i)); in dccp_print_option()
617 GET_U_1(option + 2 + i)); in dccp_print_option()
625 GET_U_1(option + 2 + i)); in dccp_print_option()
638 ND_PRINT(" %u", GET_BE_U_4(option + 2)); in dccp_print_option()
663 ND_PRINT(" %u", GET_BE_U_4(option + 2)); in dccp_print_option()
666 ND_PRINT(" %u", GET_BE_U_4(option + 2)); in dccp_print_option()
668 GET_BE_U_2(option + 6)); in dccp_print_option()
671 ND_PRINT(" %u", GET_BE_U_4(option + 2)); in dccp_print_option()
673 GET_BE_U_4(option + 6)); in dccp_print_option()
682 ND_PRINT(" %u", GET_BE_U_4(option + 2)); in dccp_print_option()
684 ND_PRINT(" %u", GET_BE_U_2(option + 2)); in dccp_print_option()
693 GET_U_1(option + 2 + i)); in dccp_print_option()