Lines Matching refs:EXTRACT_16BITS

85 	type = EXTRACT_16BITS(&tlv->type);
161 type = EXTRACT_16BITS(&tlv->type);
191 type = EXTRACT_16BITS(&kdtlv->type);
197 EXTRACT_16BITS(&kdtlv->length));
205 tll = EXTRACT_16BITS(&kdtlv->length);
241 type = EXTRACT_16BITS(&pdtlv->type);
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),
291 type, EXTRACT_16BITS(&pdtlv->length));
293 if (EXTRACT_16BITS(&pdtlv->length)) {
324 ib, EXTRACT_16BITS(&pdh->pflags), EXTRACT_16BITS(&pdh->pIDcnt));
327 if (EXTRACT_16BITS(&pdh->pflags) & F_SELKEY) {
332 idcnt = EXTRACT_16BITS(&pdh->pIDcnt);
367 type = EXTRACT_16BITS(&pdtlv->type);
368 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL;
371 tok2str(ForCES_TLV, NULL, type), type, EXTRACT_16BITS(&pdtlv->length));
382 EXTRACT_16BITS(&pdtlv->length));
388 EXTRACT_16BITS(&pdtlv->length), tll);
425 type = EXTRACT_16BITS(&pdtlv->type);
427 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL;
433 EXTRACT_16BITS(&pdtlv->length),
434 EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL);
444 EXTRACT_16BITS(&pdtlv->type), len - EXTRACT_16BITS(&pdtlv->length));
479 * lfbselect_print() has ensured that EXTRACT_16BITS(&otlv->length)
483 type = EXTRACT_16BITS(&otlv->type);
484 tll = EXTRACT_16BITS(&otlv->length) - TLV_HDRL;
488 EXTRACT_16BITS(&otlv->length));
499 EXTRACT_16BITS(&otlv->length));
735 printf("Redir data type 0x%x len %d\n", EXTRACT_16BITS(&tlv->type),
736 EXTRACT_16BITS(&tlv->length));
787 if (EXTRACT_16BITS(&tlv->type) == F_TLV_METD) {
789 } else if ((EXTRACT_16BITS(&tlv->type) == F_TLV_REDD)) {
793 EXTRACT_16BITS(&tlv->type), EXTRACT_16BITS(&tlv->length));
802 EXTRACT_16BITS(&tlv->type), rlen - EXTRACT_16BITS(&tlv->length));
867 if (op_valid(EXTRACT_16BITS(&otlv->type), op_msk)) {
874 EXTRACT_16BITS(&otlv->type), EXTRACT_16BITS(&otlv->length));
883 EXTRACT_16BITS(&otlv->type), rlen - EXTRACT_16BITS(&otlv->length));
944 if (!ttlv_valid(EXTRACT_16BITS(&tltlv->type))) {
946 EXTRACT_16BITS(&tltlv->type));
952 tok2str(ForCES_TLV, NULL, EXTRACT_16BITS(&tltlv->type)),
953 EXTRACT_16BITS(&tltlv->length),
954 EXTRACT_16BITS(&tltlv->length) - TLV_HDRL);
957 EXTRACT_16BITS(&tltlv->length), tops->op_msk, 9);
972 TLV_HDRL, rlen, EXTRACT_16BITS(&tltlv->length));