• Home
  • Raw
  • Download

Lines Matching refs:pdtlv

919 		const struct forces_tlv *pdtlv = (const struct forces_tlv *)pptr;  in pdatacnt_print()  local
926 ND_TCHECK(*pdtlv); in pdatacnt_print()
927 type = EXTRACT_16BITS(&pdtlv->type); in pdatacnt_print()
928 invtlv = tlv_valid(pdtlv, len); in pdatacnt_print()
932 EXTRACT_16BITS(&pdtlv->length))); in pdatacnt_print()
940 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL; in pdatacnt_print()
941 aln = F_ALN_LEN(EXTRACT_16BITS(&pdtlv->length)); in pdatacnt_print()
942 if (aln > EXTRACT_16BITS(&pdtlv->length)) { in pdatacnt_print()
946 type, EXTRACT_16BITS(&pdtlv->length), aln - len)); in pdatacnt_print()
948 pad = aln - EXTRACT_16BITS(&pdtlv->length); in pdatacnt_print()
957 ib, ops->s, EXTRACT_16BITS(&pdtlv->length), tll, pad)); in pdatacnt_print()
960 ib, ops->s, EXTRACT_16BITS(&pdtlv->length), tll)); in pdatacnt_print()
965 if (ops->print(ndo, (const u_char *)pdtlv, in pdatacnt_print()
972 type, EXTRACT_16BITS(&pdtlv->length))); in pdatacnt_print()
974 if (EXTRACT_16BITS(&pdtlv->length)) { in pdatacnt_print()
1059 const struct forces_tlv *pdtlv = (const struct forces_tlv *)pptr; in genoptlv_print() local
1065 ND_TCHECK(*pdtlv); in genoptlv_print()
1066 type = EXTRACT_16BITS(&pdtlv->type); in genoptlv_print()
1067 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL; in genoptlv_print()
1068 invtlv = tlv_valid(pdtlv, len); in genoptlv_print()
1070 tok2str(ForCES_TLV, NULL, type), type, EXTRACT_16BITS(&pdtlv->length))); in genoptlv_print()
1077 register const u_char *dp = (const u_char *) TLV_DATA(pdtlv); in genoptlv_print()
1081 EXTRACT_16BITS(&pdtlv->length))); in genoptlv_print()
1087 EXTRACT_16BITS(&pdtlv->length), tll)); in genoptlv_print()
1105 const struct forces_tlv *pdtlv = (const struct forces_tlv *)pptr; in recpdoptlv_print() local
1113 ND_TCHECK(*pdtlv); in recpdoptlv_print()
1114 invtlv = tlv_valid(pdtlv, len); in recpdoptlv_print()
1125 type = EXTRACT_16BITS(&pdtlv->type); in recpdoptlv_print()
1126 dp = (const u_char *) TLV_DATA(pdtlv); in recpdoptlv_print()
1127 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL; in recpdoptlv_print()
1132 EXTRACT_16BITS(&pdtlv->length), in recpdoptlv_print()
1133 EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL)); in recpdoptlv_print()
1137 pdtlv = GO_NXT_TLV(pdtlv, len); in recpdoptlv_print()
1143 EXTRACT_16BITS(&pdtlv->type), len - EXTRACT_16BITS(&pdtlv->length))); in recpdoptlv_print()