Lines Matching defs:otlv
469 int otlv_print(const struct forces_tlv *otlv, u_int16_t op_msk _U_, int indent)
472 register const u_char *dp = (u_char *) TLV_DATA(otlv);
479 * lfbselect_print() has ensured that EXTRACT_16BITS(&otlv->length)
482 TCHECK(*otlv);
483 type = EXTRACT_16BITS(&otlv->type);
484 tll = EXTRACT_16BITS(&otlv->length) - TLV_HDRL;
488 EXTRACT_16BITS(&otlv->length));
499 EXTRACT_16BITS(&otlv->length));
821 const struct forces_tlv *otlv;
853 otlv = (struct forces_tlv *)(lfbs + 1);
857 TCHECK(*otlv);
858 invtlv = tlv_valid(otlv, rlen);
867 if (op_valid(EXTRACT_16BITS(&otlv->type), op_msk)) {
868 otlv_print(otlv, 0, indent);
874 EXTRACT_16BITS(&otlv->type), EXTRACT_16BITS(&otlv->length));
875 invoptlv_print((u_char *)otlv, rlen, 0, indent);
877 otlv = GO_NXT_TLV(otlv, rlen);
883 EXTRACT_16BITS(&otlv->type), rlen - EXTRACT_16BITS(&otlv->length));