Lines Matching defs:pdtlv
233 const struct forces_tlv *pdtlv = (struct forces_tlv *)pptr;
240 TCHECK(*pdtlv);
241 type = EXTRACT_16BITS(&pdtlv->type);
242 invtlv = tlv_valid(pdtlv, len);
247 EXTRACT_16BITS(&pdtlv->length));
255 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL;
256 aln = F_ALN_LEN(EXTRACT_16BITS(&pdtlv->length));
257 if (aln > EXTRACT_16BITS(&pdtlv->length)) {
261 type, EXTRACT_16BITS(&pdtlv->length), aln - len);
263 pad = aln - EXTRACT_16BITS(&pdtlv->length);
273 ib, ops->s, EXTRACT_16BITS(&pdtlv->length),
278 ib, ops->s, EXTRACT_16BITS(&pdtlv->length),
284 if (ops->print((const u_char *)pdtlv,
291 type, EXTRACT_16BITS(&pdtlv->length));
293 if (EXTRACT_16BITS(&pdtlv->length)) {
360 const struct forces_tlv *pdtlv = (struct forces_tlv *)pptr;
366 TCHECK(*pdtlv);
367 type = EXTRACT_16BITS(&pdtlv->type);
368 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL;
369 invtlv = tlv_valid(pdtlv, len);
371 tok2str(ForCES_TLV, NULL, type), type, EXTRACT_16BITS(&pdtlv->length));
378 register const u_char *dp = (u_char *) TLV_DATA(pdtlv);
382 EXTRACT_16BITS(&pdtlv->length));
388 EXTRACT_16BITS(&pdtlv->length), tll);
405 const struct forces_tlv *pdtlv = (struct forces_tlv *)pptr;
413 TCHECK(*pdtlv);
414 invtlv = tlv_valid(pdtlv, len);
425 type = EXTRACT_16BITS(&pdtlv->type);
426 dp = (u_char *) TLV_DATA(pdtlv);
427 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL;
433 EXTRACT_16BITS(&pdtlv->length),
434 EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL);
438 pdtlv = GO_NXT_TLV(pdtlv, len);
444 EXTRACT_16BITS(&pdtlv->type), len - EXTRACT_16BITS(&pdtlv->length));