Lines Matching refs:tlv_value
1134 int tlv_value; in juniper_read_tlv_value() local
1140 tlv_value = *p; in juniper_read_tlv_value()
1143 tlv_value = EXTRACT_LE_16BITS(p); in juniper_read_tlv_value()
1146 tlv_value = EXTRACT_LE_24BITS(p); in juniper_read_tlv_value()
1149 tlv_value = EXTRACT_LE_32BITS(p); in juniper_read_tlv_value()
1152 tlv_value = -1; in juniper_read_tlv_value()
1159 tlv_value = *p; in juniper_read_tlv_value()
1162 tlv_value = EXTRACT_16BITS(p); in juniper_read_tlv_value()
1165 tlv_value = EXTRACT_24BITS(p); in juniper_read_tlv_value()
1168 tlv_value = EXTRACT_32BITS(p); in juniper_read_tlv_value()
1171 tlv_value = -1; in juniper_read_tlv_value()
1175 return tlv_value; in juniper_read_tlv_value()
1186 int tlv_value; in juniper_parse_header() local
1239 tlv_value = 0; in juniper_parse_header()
1253 tlv_value = juniper_read_tlv_value(tptr, tlv_type, tlv_len); in juniper_parse_header()
1260 if (tlv_value != -1) { in juniper_parse_header()
1263 tok2str(juniper_ifmt_values, "Unknown", tlv_value), in juniper_parse_header()
1264 tlv_value)); in juniper_parse_header()
1269 if (tlv_value != -1) { in juniper_parse_header()
1272 tok2str(juniper_ifle_values, "Unknown", tlv_value), in juniper_parse_header()
1273 tlv_value)); in juniper_parse_header()
1280 if (tlv_value != -1) { in juniper_parse_header()
1282 ND_PRINT((ndo, "%u", tlv_value)); in juniper_parse_header()