LCOV - code coverage report
Current view:
top level
-
lib
- ofp-actions.c
(
source
/ functions)
Hit
Total
Coverage
Test:
coverage.info
Lines:
2504
2818
88.9 %
Date:
2016-09-14 01:02:56
Functions:
332
345
96.2 %
Branches:
1327
1790
74.1 %
Function Name
Hit count
add_conjunction
131
decode_NXAST_RAW_BUNDLE
10
decode_NXAST_RAW_BUNDLE_LOAD
11
decode_NXAST_RAW_CONJUNCTION
86
decode_NXAST_RAW_CONTROLLER
81
decode_NXAST_RAW_CONTROLLER2
5058
decode_NXAST_RAW_CT
6146
decode_NXAST_RAW_DEBUG_RECIRC
6
decode_NXAST_RAW_DEC_TTL_CNT_IDS
1334
decode_NXAST_RAW_EXIT
5
decode_NXAST_RAW_FIN_TIMEOUT
15
decode_NXAST_RAW_LEARN
118
decode_NXAST_RAW_MULTIPATH
8
decode_NXAST_RAW_NAT
1667
decode_NXAST_RAW_NOTE
540
decode_NXAST_RAW_OUTPUT_REG
188
decode_NXAST_RAW_OUTPUT_REG2
0
decode_NXAST_RAW_OUTPUT_TRUNC
269
decode_NXAST_RAW_POP_QUEUE
10
decode_NXAST_RAW_REG_LOAD
11926
decode_NXAST_RAW_REG_LOAD2
672
decode_NXAST_RAW_REG_MOVE
7428
decode_NXAST_RAW_RESUBMIT
576
decode_NXAST_RAW_RESUBMIT_TABLE
34145
decode_NXAST_RAW_SAMPLE
14
decode_NXAST_RAW_SAMPLE2
13
decode_NXAST_RAW_SET_TUNNEL
19
decode_NXAST_RAW_SET_TUNNEL64
6
decode_NXAST_RAW_STACK_POP
7803
decode_NXAST_RAW_STACK_PUSH
7821
decode_NXAST_RAW_WRITE_METADATA
6
decode_OFPAT_RAW10_ENQUEUE
29
decode_OFPAT_RAW10_OUTPUT
13255
decode_OFPAT_RAW10_SET_VLAN_PCP
5
decode_OFPAT_RAW10_SET_VLAN_VID
47
decode_OFPAT_RAW10_STRIP_VLAN
19
decode_OFPAT_RAW11_OUTPUT
4180
decode_OFPAT_RAW11_POP_VLAN
45
decode_OFPAT_RAW11_PUSH_VLAN
41
decode_OFPAT_RAW11_SET_NW_ECN
8
decode_OFPAT_RAW11_SET_NW_TTL
6
decode_OFPAT_RAW11_SET_VLAN_PCP
1
decode_OFPAT_RAW11_SET_VLAN_VID
1
decode_OFPAT_RAW12_SET_FIELD
22102
decode_OFPAT_RAW15_COPY_FIELD
59
decode_OFPAT_RAW15_SET_FIELD
57
decode_OFPAT_RAW_DEC_MPLS_TTL
52
decode_OFPAT_RAW_DEC_NW_TTL
596
decode_OFPAT_RAW_GROUP
148
decode_OFPAT_RAW_POP_MPLS
168
decode_OFPAT_RAW_PUSH_MPLS
124
decode_OFPAT_RAW_SET_DL_DST
526
decode_OFPAT_RAW_SET_DL_SRC
681
decode_OFPAT_RAW_SET_MPLS_LABEL
2
decode_OFPAT_RAW_SET_MPLS_TC
2
decode_OFPAT_RAW_SET_MPLS_TTL
14
decode_OFPAT_RAW_SET_NW_DST
14
decode_OFPAT_RAW_SET_NW_SRC
16
decode_OFPAT_RAW_SET_NW_TOS
8
decode_OFPAT_RAW_SET_QUEUE
10
decode_OFPAT_RAW_SET_TP_DST
22
decode_OFPAT_RAW_SET_TP_SRC
14
decode_ONFACT_RAW13_COPY_FIELD
1
decode_bundle
21
decode_copy_field__
60
decode_ct_zone
6146
decode_ofpat_set_field
22159
decode_openflow11_instruction
33104
decode_openflow11_instructions
49966
decode_set_vlan_pcp
6
decode_set_vlan_vid
48
decode_stack_action
15624
encode_BUNDLE
17
encode_CLEAR_ACTIONS
5
encode_CONJUNCTION
43
encode_CONTROLLER
1785
encode_CT
3104
encode_DEBUG_RECIRC
3
encode_DEC_MPLS_TTL
26
encode_DEC_TTL
969
encode_ENQUEUE
16
encode_EXIT
4
encode_FIN_TIMEOUT
9
encode_GOTO_TABLE
135
encode_GROUP
88
encode_LEARN
67
encode_METER
0
encode_MULTIPATH
6
encode_NAT
847
encode_NOTE
280
encode_OUTPUT
8032
encode_OUTPUT_REG
65
encode_OUTPUT_TRUNC
137
encode_POP_MPLS
84
encode_POP_QUEUE
8
encode_PUSH_MPLS
62
encode_PUSH_VLAN
19
encode_REG_MOVE
21776
encode_RESUBMIT
33008
encode_SAMPLE
21
encode_SET_ETH_DST
19
encode_SET_ETH_SRC
9
encode_SET_ETH_addr
28
encode_SET_FIELD
89734
encode_SET_IPV4_DST
7
encode_SET_IPV4_SRC
7
encode_SET_IPV4_addr
14
encode_SET_IP_DSCP
6
encode_SET_IP_ECN
8
encode_SET_IP_TTL
5
encode_SET_L4_DST_PORT
5
encode_SET_L4_SRC_PORT
5
encode_SET_L4_port
10
encode_SET_MPLS_LABEL
1
encode_SET_MPLS_TC
1
encode_SET_MPLS_TTL
7
encode_SET_QUEUE
8
encode_SET_TUNNEL
17
encode_SET_VLAN_PCP
15
encode_SET_VLAN_VID
32
encode_STACK_POP
3886
encode_STACK_PUSH
3895
encode_STACK_op
7781
encode_STRIP_VLAN
36
encode_UNROLL_XLATE
0
encode_WRITE_ACTIONS
45
encode_WRITE_METADATA
6
encode_ofpact
168370
field_requires_ct
46147
format_BUNDLE
19
format_CLEAR_ACTIONS
5
format_CONJUNCTION
43
format_CONTROLLER
3823
format_CT
3751
format_DEBUG_RECIRC
6
format_DEC_MPLS_TTL
39
format_DEC_TTL
1164
format_ENQUEUE
28
format_EXIT
7
format_FIN_TIMEOUT
13
format_GOTO_TABLE
206
format_GROUP
112
format_LEARN
119
format_METER
1
format_MULTIPATH
7
format_NAT
903
format_NOTE
280
format_OUTPUT
24159
format_OUTPUT_REG
141
format_OUTPUT_TRUNC
229
format_POP_MPLS
128
format_POP_QUEUE
10
format_PUSH_MPLS
91
format_PUSH_VLAN
31
format_REG_MOVE
4726
format_RESUBMIT
29607
format_SAMPLE
25
format_SET_ETH_DST
524
format_SET_ETH_SRC
679
format_SET_FIELD
22153
format_SET_IPV4_DST
12
format_SET_IPV4_SRC
14
format_SET_IP_DSCP
7
format_SET_IP_ECN
7
format_SET_IP_TTL
5
format_SET_L4_DST_PORT
17
format_SET_L4_SRC_PORT
13
format_SET_MPLS_LABEL
1
format_SET_MPLS_TC
1
format_SET_MPLS_TTL
10
format_SET_QUEUE
10
format_SET_TUNNEL
27
format_SET_VLAN_PCP
5
format_SET_VLAN_VID
33
format_STACK_POP
5522
format_STACK_PUSH
6042
format_STRIP_VLAN
44
format_UNROLL_XLATE
1801
format_WRITE_ACTIONS
49
format_WRITE_METADATA
6
format_alg
3751
format_hex_arg
1797
get_actions_from_instruction
32847
get_be16
512
get_be32
274
get_ofpact_map
9786
get_ovsinst_map
2795
get_subfield
274
inconsistent_match
1703
init_this_module_ofp_actions
10095
instruction_get_OFPIT11_CLEAR_ACTIONS
5
instruction_get_OFPIT11_GOTO_TABLE
238
instruction_init_OFPIT11_APPLY_ACTIONS
16363
instruction_init_OFPIT11_CLEAR_ACTIONS
5
instruction_init_OFPIT11_GOTO_TABLE
135
instruction_init_OFPIT11_WRITE_ACTIONS
45
instruction_init_OFPIT11_WRITE_METADATA
4
instruction_init_OFPIT13_METER
0
instruction_is_valid
33104
instruction_next
33096
instruction_put_OFPIT11_APPLY_ACTIONS
16363
instruction_put_OFPIT11_CLEAR_ACTIONS
5
instruction_put_OFPIT11_GOTO_TABLE
135
instruction_put_OFPIT11_WRITE_ACTIONS
45
instruction_put_OFPIT11_WRITE_METADATA
4
instruction_put_OFPIT13_METER
0
learn_min_len
178
log_bad_action
16
next_load_segment
58366
ofpact_bitmap_format
112
ofpact_bitmap_from_openflow
6697
ofpact_bitmap_to_openflow
3089
ofpact_check__
86591
ofpact_check_output_port
33637
ofpact_copy
302
ofpact_decode_hmap
128237
ofpact_decode_raw
128237
ofpact_dummy_enable
543
ofpact_encode_hmap
168285
ofpact_finish
1098777
ofpact_format
105752
ofpact_get_mf_dst
151225
ofpact_hdrs_equal
128237
ofpact_hdrs_hash
406957
ofpact_init
2596617
ofpact_is_allowed_in_actions_set
86
ofpact_is_apply_actions
35863
ofpact_is_set_or_move_action
304
ofpact_name
1311
ofpact_next_flattened
86654
ofpact_outputs_to_port
569
ofpact_parse
6388
ofpact_pull_raw
128237
ofpact_put
2596396
ofpact_put_raw
168285
ofpact_put_reg_load
12119
ofpact_put_reg_load2
672
ofpact_put_set_field
1010873
ofpact_raw_lookup
168285
ofpact_type_from_name
27878
ofpacts_check
91449
ofpacts_check_consistency
68780
ofpacts_copy_all
117604
ofpacts_copy_last
1293557
ofpacts_decode
123257
ofpacts_decode_for_action_set
58
ofpacts_equal
1006884
ofpacts_execute_action_set
117604
ofpacts_format
75386
ofpacts_get_meter
65014
ofpacts_output_to_group
0
ofpacts_output_to_port
556
ofpacts_parse
23438
ofpacts_parse__
23438
ofpacts_parse_actions
1519
ofpacts_parse_copy
23404
ofpacts_parse_instructions
21839
ofpacts_pull
6631
ofpacts_pull_openflow_actions
29572
ofpacts_pull_openflow_actions__
90410
ofpacts_pull_openflow_instructions
104661
ofpacts_put_openflow_actions
54293
ofpacts_put_openflow_instructions
24973
ofpacts_update_instruction_actions
16408
ofpacts_verify
163777
ofpacts_verify_nested
149730
ovs_instruction_name_from_type
282
ovs_instruction_type_from_inst_type
12194
ovs_instruction_type_from_name
0
ovs_instruction_type_from_ofpact_type
231203
ovsinst_bitmap_from_openflow
1271
ovsinst_bitmap_to_openflow
1524
pad_ofpat
94557
parse_BUNDLE
10
parse_CLEAR_ACTIONS
2
parse_CONJUNCTION
45
parse_CONTROLLER
1148
parse_CT
334
parse_DEBUG_RECIRC
3
parse_DEC_MPLS_TTL
13
parse_DEC_TTL
550
parse_ENQUEUE
13
parse_EXIT
2
parse_FIN_TIMEOUT
4
parse_GOTO_TABLE
121
parse_GROUP
68
parse_LEARN
51
parse_METER
0
parse_MULTIPATH
8
parse_NAT
71
parse_NOTE
278
parse_OUTPUT
2637
parse_OUTPUT_REG
0
parse_OUTPUT_TRUNC
0
parse_POP_MPLS
48
parse_POP_QUEUE
6
parse_PUSH_MPLS
37
parse_PUSH_VLAN
8
parse_REG_MOVE
125
parse_RESUBMIT
570
parse_SAMPLE
18
parse_SET_ETH_DST
16
parse_SET_ETH_SRC
3
parse_SET_FIELD
123
parse_SET_IPV4_DST
3
parse_SET_IPV4_SRC
3
parse_SET_IP_DSCP
3
parse_SET_IP_ECN
4
parse_SET_IP_TTL
3
parse_SET_L4_DST_PORT
3
parse_SET_L4_SRC_PORT
2
parse_SET_MPLS_LABEL
1
parse_SET_MPLS_TC
1
parse_SET_MPLS_TTL
4
parse_SET_QUEUE
6
parse_SET_TUNNEL
10
parse_SET_VLAN_PCP
10
parse_SET_VLAN_VID
4
parse_STACK_POP
17
parse_STACK_PUSH
26
parse_STRIP_VLAN
13
parse_UNROLL_XLATE
0
parse_WRITE_ACTIONS
34
parse_WRITE_METADATA
0
parse_bundle_load
6
parse_noargs_dec_ttl
294
parse_pop_vlan
0
parse_reg_load
193
parse_set_tunnel
11
parse_set_vlan_pcp
12
parse_set_vlan_vid
25
parse_truncate_subfield
61
put_be16
264
put_be32
160
put_reg_load
19434
put_set_field
40
put_u16
264
put_u32
160
set_field_parse__
123
set_field_split_str
316
set_field_to_legacy_openflow
3126
set_field_to_nxast
19663
set_field_to_set_field
69459
str_to_nat_range
47
unsupported_nesting
1
Generated by:
LCOV version 1.12