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