• Home
  • Raw
  • Download

Lines Matching refs:tlv_len

641                         const u_char *tptr, u_int tlv_len)  in lldp_private_8021_print()  argument
648 if (tlv_len < 4) { in lldp_private_8021_print()
659 if (tlv_len < 6) { in lldp_private_8021_print()
666 if (tlv_len < 7) { in lldp_private_8021_print()
675 if (tlv_len < 6) { in lldp_private_8021_print()
679 if (tlv_len < 7) { in lldp_private_8021_print()
683 if (tlv_len < 7+sublen) { in lldp_private_8021_print()
690 if (tlv_len < 5) { in lldp_private_8021_print()
694 if (tlv_len < 5+sublen) { in lldp_private_8021_print()
701 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_CONGESTION_NOTIFICATION_LENGTH){ in lldp_private_8021_print()
719 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_ETS_CONFIGURATION_LENGTH) { in lldp_private_8021_print()
738 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_ETS_RECOMMENDATION_LENGTH) { in lldp_private_8021_print()
751 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_PFC_CONFIGURATION_LENGTH) { in lldp_private_8021_print()
766 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_APPLICATION_PRIORITY_MIN_LENGTH) { in lldp_private_8021_print()
770 if(tlv_len<=LLDP_PRIVATE_8021_SUBTYPE_APPLICATION_PRIORITY_MIN_LENGTH){ in lldp_private_8021_print()
774 sublen=tlv_len-5; in lldp_private_8021_print()
789 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_EVB_LENGTH){ in lldp_private_8021_print()
811 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_CDCP_MIN_LENGTH){ in lldp_private_8021_print()
818 sublen=tlv_len-8; in lldp_private_8021_print()
844 const u_char *tptr, u_int tlv_len) in lldp_private_8023_print() argument
848 if (tlv_len < 4) { in lldp_private_8023_print()
859 if (tlv_len < 9) { in lldp_private_8023_print()
874 if (tlv_len < 7) { in lldp_private_8023_print()
884 if (tlv_len < 9) { in lldp_private_8023_print()
923 const u_char *tptr, u_int tlv_len) in lldp_private_tia_print() argument
931 if (tlv_len < 4) { in lldp_private_tia_print()
942 if (tlv_len < 7) { in lldp_private_tia_print()
954 if (tlv_len < 8) { in lldp_private_tia_print()
971 if (tlv_len < 5) { in lldp_private_tia_print()
981 if (tlv_len < 21) { in lldp_private_tia_print()
1000 if (tlv_len < 6) { in lldp_private_tia_print()
1007 if (tlv_len < 7+lci_len) { in lldp_private_tia_print()
1052 safeputs(ndo, tptr + 5, tlv_len - 5); in lldp_private_tia_print()
1057 print_unknown_data(ndo, tptr + 5, "\n\t ", tlv_len - 5); in lldp_private_tia_print()
1062 if (tlv_len < 7) { in lldp_private_tia_print()
1089 safeputs(ndo, tptr + 4, tlv_len - 4); in lldp_private_tia_print()
1111 u_int tlen, tlv_type, tlv_len; in lldp_private_dcbx_print() local
1137 tlv_len = LLDP_EXTRACT_LEN(tlv); in lldp_private_dcbx_print()
1144 if (!tlv_type || !tlv_len) { in lldp_private_dcbx_print()
1148 ND_TCHECK2(*tptr, tlv_len); in lldp_private_dcbx_print()
1149 if (tlen < tlv_len) { in lldp_private_dcbx_print()
1156 if (tlv_len < 10) { in lldp_private_dcbx_print()
1160 LLDP_DCBX_CONTROL_TLV, tlv_len)); in lldp_private_dcbx_print()
1168 if (tlv_len < 17) { in lldp_private_dcbx_print()
1172 LLDP_DCBX_PRIORITY_GROUPS_TLV, tlv_len)); in lldp_private_dcbx_print()
1198 if (tlv_len < 6) { in lldp_private_dcbx_print()
1203 LLDP_DCBX_PRIORITY_FLOW_CONTROL_TLV, tlv_len)); in lldp_private_dcbx_print()
1220 if (tlv_len < 4) { in lldp_private_dcbx_print()
1224 LLDP_DCBX_APPLICATION_TLV, tlv_len)); in lldp_private_dcbx_print()
1233 tval = tlv_len - 4; in lldp_private_dcbx_print()
1256 print_unknown_data(ndo, tptr, "\n\t ", tlv_len); in lldp_private_dcbx_print()
1259 tlen -= tlv_len; in lldp_private_dcbx_print()
1260 tptr += tlv_len; in lldp_private_dcbx_print()
1380 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local
1396 tlv_len = LLDP_EXTRACT_LEN(tlv); in lldp_print()
1405 tlv_type, tlv_len)); in lldp_print()
1409 if (!tlv_type || !tlv_len) { in lldp_print()
1413 ND_TCHECK2(*tptr, tlv_len); in lldp_print()
1414 if (tlen < tlv_len) { in lldp_print()
1422 if (tlv_len < 2) { in lldp_print()
1432 if (tlv_len < 1+6) { in lldp_print()
1443 safeputs(ndo, tptr + 1, tlv_len - 1); in lldp_print()
1447 network_addr = lldp_network_addr_print(ndo, tptr+1, tlv_len-1); in lldp_print()
1463 if (tlv_len < 2) { in lldp_print()
1473 if (tlv_len < 1+6) { in lldp_print()
1484 safeputs(ndo, tptr + 1, tlv_len - 1); in lldp_print()
1488 network_addr = lldp_network_addr_print(ndo, tptr+1, tlv_len-1); in lldp_print()
1504 if (tlv_len < 2) { in lldp_print()
1514 safeputs(ndo, tptr, tlv_len); in lldp_print()
1524 safeputs(ndo, tptr, tlv_len); in lldp_print()
1530 safeputs(ndo, tptr, tlv_len); in lldp_print()
1542 if (tlv_len < 4) { in lldp_print()
1556 if (!lldp_mgmt_addr_tlv_print(ndo, tptr, tlv_len)) { in lldp_print()
1564 if (tlv_len < 3) { in lldp_print()
1572 hexdump = lldp_private_8021_print(ndo, tptr, tlv_len); in lldp_print()
1575 hexdump = lldp_private_8023_print(ndo, tptr, tlv_len); in lldp_print()
1578 hexdump = lldp_private_tia_print(ndo, tptr, tlv_len); in lldp_print()
1581 hexdump = lldp_private_dcbx_print(ndo, tptr, tlv_len); in lldp_print()
1597 print_unknown_data(ndo, tptr, "\n\t ", tlv_len); in lldp_print()
1600 tlen -= tlv_len; in lldp_print()
1601 tptr += tlv_len; in lldp_print()