Lines Matching refs:EXTRACT_16BITS
287 ND_PRINT((ndo, "%u", EXTRACT_16BITS(dat))); in print_16bits_val()
309 EXTRACT_16BITS(ptr)))); in l2tp_msgtype_print()
322 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr))); in l2tp_result_code_print()
333 ND_PRINT((ndo, "/%u", EXTRACT_16BITS(ptr))); in l2tp_result_code_print()
351 ND_PRINT((ndo, "%u.%u", (EXTRACT_16BITS(dat) >> 8), in l2tp_proto_ver_print()
352 (EXTRACT_16BITS(dat) & 0xff))); in l2tp_proto_ver_print()
456 "AuthType-#%u", EXTRACT_16BITS(ptr)))); in l2tp_proxy_auth_type_print()
468 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK)); in l2tp_proxy_auth_id_print()
488 val_h = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
489 val_l = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
496 val_h = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
497 val_l = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
504 val_h = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
505 val_l = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
512 val_h = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
513 val_l = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
520 val_h = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
521 val_l = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
528 val_h = EXTRACT_16BITS(ptr); ptr++; in l2tp_call_errors_print()
529 val_l = EXTRACT_16BITS(ptr); ptr++; in l2tp_call_errors_print()
550 val_h = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_accm_print()
551 val_l = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_accm_print()
558 val_h = EXTRACT_16BITS(ptr); ptr++; in l2tp_accm_print()
559 val_l = EXTRACT_16BITS(ptr); ptr++; in l2tp_accm_print()
573 ND_PRINT((ndo, "%04x, ", EXTRACT_16BITS(dat))); in l2tp_ppp_discon_cc_print()
577 ND_PRINT((ndo, "%04x ", EXTRACT_16BITS(dat))); in l2tp_ppp_discon_cc_print()
607 len = EXTRACT_16BITS(ptr) & L2TP_AVP_HDR_LEN_MASK; in l2tp_avp_print()
628 if (EXTRACT_16BITS(ptr) & L2TP_AVP_HDR_FLAG_MANDATORY) { in l2tp_avp_print()
631 if (EXTRACT_16BITS(ptr) & L2TP_AVP_HDR_FLAG_HIDDEN) { in l2tp_avp_print()
637 if (EXTRACT_16BITS(ptr)) { in l2tp_avp_print()
639 ND_PRINT((ndo, "VENDOR%04x:", EXTRACT_16BITS(ptr))); ptr++; in l2tp_avp_print()
640 ND_PRINT((ndo, "ATTR%04x", EXTRACT_16BITS(ptr))); ptr++; in l2tp_avp_print()
647 attr_type = EXTRACT_16BITS(ptr); ptr++; in l2tp_avp_print()
779 if ((EXTRACT_16BITS(ptr) & L2TP_VERSION_MASK) == L2TP_VERSION_L2TP) { in l2tp_print()
781 } else if ((EXTRACT_16BITS(ptr) & L2TP_VERSION_MASK) == L2TP_VERSION_L2F) { in l2tp_print()
790 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_TYPE) { in l2tp_print()
794 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_LENGTH) { in l2tp_print()
798 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_SEQUENCE) { in l2tp_print()
802 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_OFFSET) { in l2tp_print()
806 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_PRIORITY) in l2tp_print()
815 l2tp_len = EXTRACT_16BITS(ptr); in l2tp_print()
823 ND_PRINT((ndo, "(%u/", EXTRACT_16BITS(ptr))); in l2tp_print()
827 ND_PRINT((ndo, "%u)", EXTRACT_16BITS(ptr))); in l2tp_print()
833 ND_PRINT((ndo, "Ns=%u,", EXTRACT_16BITS(ptr))); in l2tp_print()
837 ND_PRINT((ndo, "Nr=%u", EXTRACT_16BITS(ptr))); in l2tp_print()
844 pad = EXTRACT_16BITS(ptr); in l2tp_print()