Lines Matching refs:EXTRACT_16BITS
196 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_grace_lsa()
197 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_grace_lsa()
283 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
284 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_te_lsa()
313 subtlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
314 subtlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_te_lsa()
519 ls_length = EXTRACT_16BITS(&lshp->ls_length); in ospf_print_lshdr()
530 EXTRACT_16BITS(&lshp->ls_age), in ospf_print_lshdr()
599 EXTRACT_16BITS(&tos->metrics.tos_metric))); in ospf_print_tos_metrics()
643 j = EXTRACT_16BITS(&lsap->lsa_un.un_rla.rla_count); in ospf_print_lsa()
812 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_lsa()
813 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_lsa()
914 length2 = EXTRACT_16BITS(&op->ospf_len); in ospf_decode_lls()
918 if (EXTRACT_16BITS(&op->ospf_authtype) == OSPF_AUTH_MD5) { in ospf_decode_lls()
927 ND_PRINT((ndo, "\n\t LLS: checksum: 0x%04x", (u_int)EXTRACT_16BITS(dptr))); in ospf_decode_lls()
931 length2 = EXTRACT_16BITS(dptr); in ospf_decode_lls()
938 lls_type = EXTRACT_16BITS(dptr); in ospf_decode_lls()
944 lls_len = EXTRACT_16BITS(dptr); in ospf_decode_lls()
1005 EXTRACT_16BITS(&op->ospf_hello.hello_helloint), in ospf_decode_v2()
1039 ND_PRINT((ndo, ", MTU: %u", EXTRACT_16BITS(&op->ospf_db.db_ifmtu))); in ospf_decode_v2()
1122 if (EXTRACT_16BITS(&op->ospf_authtype) == OSPF_AUTH_MD5) { in ospf_print()
1140 if (length != EXTRACT_16BITS(&op->ospf_len)) { in ospf_print()
1141 ND_PRINT((ndo, " [len %d]", EXTRACT_16BITS(&op->ospf_len))); in ospf_print()
1144 if (length > EXTRACT_16BITS(&op->ospf_len)) { in ospf_print()
1145 dataend = bp + EXTRACT_16BITS(&op->ospf_len); in ospf_print()
1164 tok2str(ospf_authtype_values, "unknown", EXTRACT_16BITS(&op->ospf_authtype)), in ospf_print()
1165 EXTRACT_16BITS(&op->ospf_authtype))); in ospf_print()
1167 switch (EXTRACT_16BITS(&op->ospf_authtype)) { in ospf_print()
1195 if (length > EXTRACT_16BITS(&op->ospf_len)) { in ospf_print()