LCOV - code coverage report
Current view: top level - lib - ofp-util.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 4044 4709 85.9 %
Date: 2016-09-14 01:02:56 Functions: 308 323 95.4 %
Branches: 1510 2217 68.1 %

Function Name Sort by function name Hit count Sort by hit count
bad_group_cmd 5
decode_async_mask 161
decode_legacy_async_masks 48
decode_nx_packet_in2 2124
decode_tlv_table_mappings 212
encode_async_mask 6
encode_legacy_async_masks 3
encode_packet_in_reason 1190
encode_tlv_table_mappings 105
get_ofp14_async_config_prop_by_oam 102
get_ofp14_async_config_prop_by_prop_type 66
init_this_module_ofp_util 10095
is_delimiter 52694
make_echo_reply 14
make_echo_request 14
mf_bitmap_from_of10 1525
mf_bitmap_from_of11 0
mf_bitmap_to_of10 762
mf_bitmap_to_of11 0
netdev_port_features_from_ofp10 1179
netdev_port_features_from_ofp11 2659
netdev_port_features_to_ofp10 605
netdev_port_features_to_ofp11 2145
ofp14_async_prop_allowed 167
ofputil_append_flow_monitor_request 4
ofputil_append_flow_stats_reply 18639
ofputil_append_flow_update 5295
ofputil_append_group_desc_reply 56
ofputil_append_group_stats 11
ofputil_append_ipfix_stat 2
ofputil_append_meter_config 0
ofputil_append_meter_stats 0
ofputil_append_ofp11_group_desc_reply 20
ofputil_append_ofp14_port_stats 1
ofputil_append_ofp15_group_desc_reply 36
ofputil_append_port_desc_stats_reply 70
ofputil_append_port_stat 46
ofputil_append_queue_get_config_reply 12
ofputil_append_queue_stat 20
ofputil_append_table_desc_reply 2540
ofputil_append_table_features_reply 508
ofputil_append_table_stats_reply 2540
ofputil_async_cfg_default 1311
ofputil_async_msg_type_to_string 253
ofputil_bucket_check_duplicate_id 212
ofputil_bucket_clone_data 229
ofputil_bucket_clone_list 129
ofputil_bucket_find 16
ofputil_bucket_list_back 6
ofputil_bucket_list_destroy 788
ofputil_bucket_list_front 4
ofputil_capabilities_mask 215
ofputil_count_ipfix_stats 3
ofputil_count_port_stats 42
ofputil_count_queue_stats 45
ofputil_decode_aggregate_stats_reply 14
ofputil_decode_bundle_add 1427
ofputil_decode_bundle_ctrl 1080
ofputil_decode_flow_mod 67199
ofputil_decode_flow_mod_flags 71402
ofputil_decode_flow_monitor_cancel 1
ofputil_decode_flow_monitor_request 19
ofputil_decode_flow_removed 40
ofputil_decode_flow_stats_reply 38237
ofputil_decode_flow_stats_request 782
ofputil_decode_flow_update 41037
ofputil_decode_get_config_reply 539
ofputil_decode_group_desc_reply 220
ofputil_decode_group_desc_request 106
ofputil_decode_group_features_reply 3
ofputil_decode_group_mod 398
ofputil_decode_group_stats_reply 48
ofputil_decode_group_stats_request 17
ofputil_decode_hello 13839
ofputil_decode_hello_bitmap 2123
ofputil_decode_meter_config 3
ofputil_decode_meter_features 1
ofputil_decode_meter_mod 6
ofputil_decode_meter_request 2
ofputil_decode_meter_stats 3
ofputil_decode_nxst_flow_request 530
ofputil_decode_ofp10_phy_port 288
ofputil_decode_ofp10_table_stats 1525
ofputil_decode_ofp11_group_desc_reply 78
ofputil_decode_ofp11_port 547
ofputil_decode_ofp11_table_stats 0
ofputil_decode_ofp12_table_stats 1271
ofputil_decode_ofp13_table_stats 2542
ofputil_decode_ofp15_group_desc_reply 142
ofputil_decode_ofpst10_flow_request 28
ofputil_decode_ofpst11_flow_request 224
ofputil_decode_packet_in 2760
ofputil_decode_packet_in_private 2113
ofputil_decode_packet_out 3181
ofputil_decode_port_desc_stats_request 74
ofputil_decode_port_mod 84
ofputil_decode_port_stats 290
ofputil_decode_port_stats_request 42
ofputil_decode_port_status 505
ofputil_decode_queue_get_config_request 52
ofputil_decode_queue_stats 230
ofputil_decode_queue_stats_request 104
ofputil_decode_requestforward 12
ofputil_decode_role_message 125
ofputil_decode_role_status 5
ofputil_decode_set_async_config 31
ofputil_decode_set_config 425
ofputil_decode_switch_config 964
ofputil_decode_table_desc 3341
ofputil_decode_table_eviction 3333
ofputil_decode_table_features 1088
ofputil_decode_table_miss 1303
ofputil_decode_table_mod 32
ofputil_decode_table_stats_reply 5361
ofputil_decode_table_status 6
ofputil_decode_table_vacancy 3333
ofputil_decode_tlv_table_mod 120
ofputil_decode_tlv_table_reply 92
ofputil_destroy_requestforward 12
ofputil_dl_type_from_openflow 6807
ofputil_dl_type_to_openflow 59952
ofputil_encode_aggregate_stats_reply 5
ofputil_encode_barrier_request 15093
ofputil_encode_bundle_add 735
ofputil_encode_bundle_ctrl_reply 241
ofputil_encode_bundle_ctrl_request 238
ofputil_encode_bundle_msgs 2
ofputil_encode_dump_ports_request 19
ofputil_encode_flow_mod 33847
ofputil_encode_flow_mod_flags 35877
ofputil_encode_flow_monitor_cancel 0
ofputil_encode_flow_removed 18
ofputil_encode_flow_stats_request 407
ofputil_encode_get_async_reply 1
ofputil_encode_get_config_reply 282
ofputil_encode_group_desc_request 53
ofputil_encode_group_features_reply 1
ofputil_encode_group_features_request 1
ofputil_encode_group_mod 210
ofputil_encode_group_stats_request 10
ofputil_encode_hello 6924
ofputil_encode_meter_features_reply 0
ofputil_encode_meter_mod 0
ofputil_encode_meter_request 0
ofputil_encode_nx_packet_in 207
ofputil_encode_nx_packet_in2 668
ofputil_encode_nx_set_flow_format 347
ofputil_encode_ofp10_packet_in 23
ofputil_encode_ofp10_phy_port 148
ofputil_encode_ofp11_group_mod 145
ofputil_encode_ofp11_packet_in 2
ofputil_encode_ofp11_port 478
ofputil_encode_ofp12_packet_in 91
ofputil_encode_ofp15_group_mod 60
ofputil_encode_packet_in_private 991
ofputil_encode_packet_out 1562
ofputil_encode_port_desc_stats_request 36
ofputil_encode_port_mod 39
ofputil_encode_port_status 458
ofputil_encode_queue_get_config_request 13
ofputil_encode_queue_stats_request 35
ofputil_encode_requestforward 4
ofputil_encode_resume 199
ofputil_encode_role_reply 22
ofputil_encode_role_status 2
ofputil_encode_set_async_config 0
ofputil_encode_set_config 202
ofputil_encode_set_protocol 1006
ofputil_encode_switch_features 70
ofputil_encode_table_config 3065
ofputil_encode_table_desc_request 10
ofputil_encode_table_features_request 2
ofputil_encode_table_mod 14
ofputil_encode_table_stats_reply 10
ofputil_encode_table_status 3
ofputil_encode_tlv_table_mod 59
ofputil_encode_tlv_table_reply 46
ofputil_format_group 63
ofputil_format_port 46404
ofputil_format_version 36817
ofputil_format_version_bitmap 6940
ofputil_format_version_bitmap__ 6943
ofputil_format_version_bitmap_names 3
ofputil_format_version_name 4
ofputil_frag_handling_from_string 9
ofputil_frag_handling_to_string 509
ofputil_group_bucket_counters_to_ofp11 11
ofputil_group_from_string 18
ofputil_group_properties_copy 103
ofputil_group_properties_destroy 788
ofputil_group_stats_to_ofp11 11
ofputil_group_stats_to_ofp13 8
ofputil_group_to_string 63
ofputil_init_group_properties 618
ofputil_ipfix_stats_from_nx 7
ofputil_ipfix_stats_to_reply 2
ofputil_is_bundlable 1426
ofputil_make_flow_mod_table_id 100
ofputil_make_set_packet_in_format 212
ofputil_match_from_ofp10_match 6757
ofputil_match_from_ofp11_match 203
ofputil_match_to_ofp10_match 3714
ofputil_match_to_ofp11_match 146
ofputil_match_typical_len 22932
ofputil_netmask_to_wcbits 7428
ofputil_normalize_match 18892
ofputil_normalize_match__ 18892
ofputil_normalize_match_quiet 0
ofputil_nx_flow_format_is_valid 679
ofputil_nx_flow_format_to_protocol 1026
ofputil_nx_flow_format_to_string 332
ofputil_packet_in_format_from_string 113
ofputil_packet_in_format_is_valid 413
ofputil_packet_in_format_to_string 202
ofputil_packet_in_private_destroy 2113
ofputil_packet_in_reason_from_string 27
ofputil_packet_in_reason_to_string 2081
ofputil_parse_key_value 121701
ofputil_port_from_ofp11 63441
ofputil_port_from_string 8393
ofputil_port_stats_from_ofp10 172
ofputil_port_stats_from_ofp11 28
ofputil_port_stats_from_ofp13 18
ofputil_port_stats_to_ofp10 41
ofputil_port_stats_to_ofp11 4
ofputil_port_stats_to_ofp13 3
ofputil_port_to_ofp11 29179
ofputil_port_to_string 46460
ofputil_protocol_from_ofp_version 40380
ofputil_protocol_from_string__ 61
ofputil_protocol_is_valid 0
ofputil_protocol_set_base 694
ofputil_protocol_set_tid 36644
ofputil_protocol_to_base 2012
ofputil_protocol_to_ofp_version 76989
ofputil_protocol_to_string 1859
ofputil_protocols_from_ofp_version 44291
ofputil_protocols_from_string 61
ofputil_protocols_from_version_bitmap 3890
ofputil_protocols_to_string 181
ofputil_protocols_to_version_bitmap 4191
ofputil_pull_band_stats 2
ofputil_pull_bands 6
ofputil_pull_ipfix_stats 13
ofputil_pull_ofp11_buckets 316
ofputil_pull_ofp11_group_mod 275
ofputil_pull_ofp11_match 50197
ofputil_pull_ofp14_port 112
ofputil_pull_ofp14_port_stats 6
ofputil_pull_ofp14_queue_stats 28
ofputil_pull_ofp15_buckets 196
ofputil_pull_ofp15_group_mod 123
ofputil_pull_phy_port 1093
ofputil_pull_queue_get_config_reply 55
ofputil_pull_queue_get_config_reply10 24
ofputil_pull_queue_get_config_reply14 10
ofputil_pull_switch_features 145
ofputil_put_async_config__ 1
ofputil_put_bands 0
ofputil_put_group_prop_ntr_selection_method 11
ofputil_put_ofp10_table_stats 762
ofputil_put_ofp11_bucket 128
ofputil_put_ofp11_match 22932
ofputil_put_ofp11_table_stats 0
ofputil_put_ofp12_table_stats 508
ofputil_put_ofp13_table_stats 1270
ofputil_put_ofp14_port 56
ofputil_put_ofp14_table_desc 3
ofputil_put_ofp15_bucket 215
ofputil_put_packet_in 867
ofputil_put_packet_in_private 668
ofputil_put_phy_port 682
ofputil_put_switch_config 484
ofputil_put_switch_features_port 192
ofputil_queue_stats_from_ofp10 28
ofputil_queue_stats_from_ofp11 112
ofputil_queue_stats_from_ofp13 56
ofputil_queue_stats_to_ofp10 4
ofputil_queue_stats_to_ofp11 16
ofputil_queue_stats_to_ofp13 8
ofputil_queue_stats_to_ofp14 4
ofputil_start_flow_update 2656
ofputil_start_queue_get_config_reply 13
ofputil_switch_features_has_ports 70
ofputil_tid_command 11057
ofputil_uninit_group_desc 114
ofputil_uninit_group_mod 600
ofputil_uninit_tlv_table 287
ofputil_version_from_string 26874
ofputil_version_to_string 4
ofputil_versions_from_string 4788
ofputil_versions_from_strings 3462
ofputil_wcbits_to_netmask 13514
ofputil_wildcard_from_ofpfw10 6757
parse_action_bitmap 4068
parse_actions_property 2255
parse_async_tlv 65
parse_group_prop_ntr_selection_method 22
parse_instruction_ids 2034
parse_intel_port_stats_property 4
parse_intel_port_stats_rfc2819_property 4
parse_ofp10_queue_rate 8
parse_ofp14_port_ethernet_property 112
parse_ofp14_port_stats_ethernet_property 6
parse_ofp15_group_properties 196
parse_oxms 6102
parse_port_mod_ethernet_property 2
parse_subvalue_prop 0
parse_table_desc_vacancy_property 10
parse_table_features_next_table 2034
parse_table_mod_vacancy_property 6
parse_value 49633
pull_table_feature_property 14238
put_actions_property 644
put_fields_property 3048
put_ofp10_queue_rate 16
put_ofp14_queue_rate 8
put_table_action_features 2032
put_table_instruction_features 1016
should_send_version_bitmap 6924
unknown_to_zero 4384
version_bitmap_from_version 13839
wild_or_nonmatchable_fields 762

Generated by: LCOV version 1.12