Lines Matching refs:tll
803 uint16_t type, tll; in pkeyitlv_print() local
824 tll = EXTRACT_16BITS(&kdtlv->length); in pkeyitlv_print()
826 return fdatatlv_print(ndo, dp, tll, op_msk, indent); in pkeyitlv_print()
885 uint16_t tll; in pdatacnt_print() local
901 tll = EXTRACT_16BITS(&keytlv->length); in pdatacnt_print()
902 if (tll < TLV_HDRL) { in pdatacnt_print()
904 tll, TLV_HDRL)); in pdatacnt_print()
907 tll -= TLV_HDRL; in pdatacnt_print()
908 if (len < tll) { in pdatacnt_print()
912 pptr += tll; in pdatacnt_print()
913 len -= tll; in pdatacnt_print()
921 uint16_t tll; in pdatacnt_print() local
940 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL; 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()
966 tll + pad + TLV_HDRL, op_msk, in pdatacnt_print()
969 len -= (TLV_HDRL + pad + tll); in pdatacnt_print()
1061 int tll; in genoptlv_print() local
1067 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL; in genoptlv_print()
1087 EXTRACT_16BITS(&pdtlv->length), tll)); in genoptlv_print()
1089 return pdata_print(ndo, dp, tll, op_msk, indent + 1); in genoptlv_print()
1106 int tll; in recpdoptlv_print() local
1127 tll = EXTRACT_16BITS(&pdtlv->length) - TLV_HDRL; in recpdoptlv_print()
1135 if (pdata_print(ndo, dp, tll, op_msk, indent + 1) == -1) in recpdoptlv_print()
1176 int tll; in otlv_print() local
1186 tll = EXTRACT_16BITS(&otlv->length) - TLV_HDRL; in otlv_print()
1193 if (tll < OP_MIN_SIZ) { in otlv_print()
1196 ND_PRINT((ndo, "\t\tTruncated data size %d minimum required %d\n", tll, in otlv_print()
1198 return invoptlv_print(ndo, dp, tll, ops->op_msk, indent); in otlv_print()
1204 rc = ops->print(ndo, dp, tll, ops->op_msk, indent + 1); in otlv_print()