Lines Matching refs:len

699                        const u_char *cp, u_int len)  in of10_bsn_message_print()  argument
703 if (len < 4) in of10_bsn_message_print()
723 if (len != 8) in of10_bsn_message_print()
746 if (len != 8) in of10_bsn_message_print()
769 if (len != 4) in of10_bsn_message_print()
792 if (len) in of10_bsn_message_print()
806 if (len != 4) in of10_bsn_message_print()
824 if (len < 4) in of10_bsn_message_print()
831 (void)nd_printn(ndo, cp, len, NULL); in of10_bsn_message_print()
848 (void)nd_printn(ndo, cp, len, NULL); in of10_bsn_message_print()
862 if (len != 4) in of10_bsn_message_print()
868 ND_TCHECK_LEN(cp, len); in of10_bsn_message_print()
874 ND_TCHECK_LEN(cp, len); in of10_bsn_message_print()
879 const u_char *cp, u_int len) in of10_bsn_actions_print() argument
883 if (len < 4) in of10_bsn_actions_print()
905 if (len != 12) in of10_bsn_actions_print()
932 ND_TCHECK_LEN(cp, len); in of10_bsn_actions_print()
938 ND_TCHECK_LEN(cp, len); in of10_bsn_actions_print()
943 const u_char *cp, u_int len) in of10_vendor_action_print() argument
948 if (len < 4) in of10_vendor_action_print()
958 decoder(ndo, cp, len); in of10_vendor_action_print()
963 ND_TCHECK_LEN(cp, len); in of10_vendor_action_print()
969 const u_char *cp, u_int len) in of10_vendor_message_print() argument
982 decoder(ndo, cp, len); in of10_vendor_message_print()
988 const u_char *cp, u_int len) in of10_vendor_data_print() argument
992 if (len < 4) in of10_vendor_data_print()
999 of_data_print(ndo, cp, len); in of10_vendor_data_print()
1004 ND_TCHECK_LEN(cp, len); in of10_vendor_data_print()
1009 const u_char *cp, const u_int len) in of10_packet_data_print() argument
1011 if (len == 0) in of10_packet_data_print()
1014 ND_PRINT("\n\t data (%u octets)", len); in of10_packet_data_print()
1016 ND_TCHECK_LEN(cp, len); in of10_packet_data_print()
1030 ndo->ndo_snapend = ND_MIN(cp + len, ndo->ndo_snapend); in of10_packet_data_print()
1031 ether_print(ndo, cp, len, ND_BYTES_AVAILABLE_AFTER(cp), NULL, NULL); in of10_packet_data_print()
1096 const u_char *cp, u_int len) in of10_queue_props_print() argument
1098 while (len) { in of10_queue_props_print()
1102 if (len < OF_QUEUE_PROP_MINLEN) in of10_queue_props_print()
1112 if (plen < OF_QUEUE_PROP_MINLEN || plen > len + 4) in of10_queue_props_print()
1157 ND_TCHECK_LEN(cp, len); in of10_queue_props_print()
1163 const u_char *cp, u_int len) in of10_queues_print() argument
1165 while (len) { in of10_queues_print()
1168 if (len < OF_PACKET_QUEUE_MINLEN) in of10_queues_print()
1177 if (desclen < OF_PACKET_QUEUE_MINLEN || desclen > len + 6) in of10_queues_print()
1193 ND_TCHECK_LEN(cp, len); in of10_queues_print()
1287 const char *pfx, const u_char *cp, u_int len) in of10_actions_print() argument
1289 while (len) { in of10_actions_print()
1293 if (len < OF_ACTION_MINLEN) in of10_actions_print()
1311 if (alen < OF_ACTION_MINLEN || alen > len + 4) in of10_actions_print()
1442 ND_TCHECK_LEN(cp, len); in of10_actions_print()
1448 const u_char *cp, u_int len) in of10_features_reply_print() argument
1470 while (len) { in of10_features_reply_print()
1471 if (len < OF_PHY_PORT_FIXLEN) in of10_features_reply_print()
1480 ND_TCHECK_LEN(cp, len); in of10_features_reply_print()
1486 const u_char *cp, u_int len _U_) in of10_switch_config_msg_print()
1499 const u_char *cp, u_int len) in of10_flow_mod_print() argument
1541 of10_actions_print(ndo, "\n\t ", cp, len); in of10_flow_mod_print()
1547 const u_char *cp, u_int len _U_) in of10_port_mod_print()
1575 const u_char *cp, u_int len _U_) in of10_queue_get_config_request_print()
1588 const u_char *cp, u_int len) in of10_queue_get_config_reply_print() argument
1597 of10_queues_print(ndo, cp, len); in of10_queue_get_config_reply_print()
1603 const u_char *cp, u_int len) in of10_stats_request_print() argument
1620 if (len) in of10_stats_request_print()
1625 if (len != OF_FLOW_STATS_REQUEST_FIXLEN) in of10_stats_request_print()
1641 if (len != OF_PORT_STATS_REQUEST_FIXLEN) in of10_stats_request_print()
1652 if (len != OF_QUEUE_STATS_REQUEST_FIXLEN) in of10_stats_request_print()
1665 of10_vendor_data_print(ndo, cp, len); in of10_stats_request_print()
1672 ND_TCHECK_LEN(cp, len); in of10_stats_request_print()
1678 const u_char *cp, u_int len) in of10_desc_stats_reply_print() argument
1680 if (len != OF_DESC_STATS_REPLY_FIXLEN) in of10_desc_stats_reply_print()
1710 ND_TCHECK_LEN(cp, len); in of10_desc_stats_reply_print()
1716 const u_char *cp, u_int len) in of10_flow_stats_reply_print() argument
1718 while (len) { in of10_flow_stats_reply_print()
1721 if (len < OF_FLOW_STATS_REPLY_MINLEN) in of10_flow_stats_reply_print()
1726 if (entry_len < OF_FLOW_STATS_REPLY_MINLEN || entry_len > len) in of10_flow_stats_reply_print()
1772 ND_TCHECK_LEN(cp, len); in of10_flow_stats_reply_print()
1778 const u_char *cp, u_int len) in of10_aggregate_stats_reply_print() argument
1780 if (len != OF_AGGREGATE_STATS_REPLY_FIXLEN) in of10_aggregate_stats_reply_print()
1798 ND_TCHECK_LEN(cp, len); in of10_aggregate_stats_reply_print()
1804 const u_char *cp, u_int len) in of10_table_stats_reply_print() argument
1806 while (len) { in of10_table_stats_reply_print()
1807 if (len < OF_TABLE_STATS_REPLY_FIXLEN) in of10_table_stats_reply_print()
1841 ND_TCHECK_LEN(cp, len); in of10_table_stats_reply_print()
1847 const u_char *cp, u_int len) in of10_port_stats_reply_print() argument
1849 while (len) { in of10_port_stats_reply_print()
1850 if (len < OF_PORT_STATS_REPLY_FIXLEN) in of10_port_stats_reply_print()
1903 ND_TCHECK_LEN(cp, len); in of10_port_stats_reply_print()
1909 const u_char *cp, u_int len) in of10_queue_stats_reply_print() argument
1911 while (len) { in of10_queue_stats_reply_print()
1912 if (len < OF_QUEUE_STATS_REPLY_FIXLEN) in of10_queue_stats_reply_print()
1937 ND_TCHECK_LEN(cp, len); in of10_queue_stats_reply_print()
1943 const u_char *cp, u_int len) in of10_stats_reply_print() argument
1967 decoder(ndo, cp, len); in of10_stats_reply_print()
1971 ND_TCHECK_LEN(cp, len); in of10_stats_reply_print()
1977 const u_char *cp, u_int len) in of10_packet_out_print() argument
1990 if (actions_len > len) in of10_packet_out_print()
1996 of10_packet_data_print(ndo, cp, len); in of10_packet_out_print()
2001 ND_TCHECK_LEN(cp, len); in of10_packet_out_print()
2007 const u_char *cp, u_int len) in of10_packet_in_print() argument
2027 of10_packet_data_print(ndo, cp, len); in of10_packet_in_print()
2033 const u_char *cp, u_int len _U_) in of10_flow_removed_print()
2073 const u_char *cp, u_int len _U_) in of10_port_status_print()
2089 const u_char *cp, u_int len) in of10_error_print() argument
2108 of_data_print(ndo, cp, len); in of10_error_print()