Lines Matching refs:tlv
1469 * tlv - the TLV format data.
1477 const isns_tlv_t *tlv,
1485 switch (tlv->attr_id) {
1495 if (tlv->attr_len < min_len || tlv->attr_len > max_len) {
1498 attr->tag = tlv->attr_id;
1499 attr->len = tlv->attr_len;
1500 attr->value.ptr = (uchar_t *)&(tlv->attr_value[0]);
1504 attr->tag = tlv->attr_id;
1505 attr->len = tlv->attr_len;
1506 attr->value.ptr = (uchar_t *)&(tlv->attr_value[0]);
1511 if (tlv->attr_len != 16) {
1514 attr->tag = tlv->attr_id;
1515 attr->len = tlv->attr_len;
1516 attr->value.ip = (void *)&(tlv->attr_value[0]);
1536 if (tlv->attr_len != 4) {
1541 attr->tag = tlv->attr_id;
1542 attr->len = tlv->attr_len;
1543 if (tlv->attr_len == 4) {
1545 &(tlv->attr_value[0]));
1564 if (tlv->attr_len != 4) {
1567 attr->tag = tlv->attr_id;
1568 attr->len = tlv->attr_len;
1570 &(tlv->attr_value[0]));
1595 * tlv - the TLV format data.
1603 const isns_tlv_t *tlv
1611 ec = extract_attr(&tmp, tlv, 1);