Carmelo Cascone | 4f01102 | 2017-06-05 01:41:02 -0400 | [diff] [blame] | 1 | action set_egress_port(port) { |
2 | modify_field(standard_metadata.egress_spec, port); | ||||
3 | } | ||||
4 | |||||
5 | action _drop() { | ||||
6 | modify_field(standard_metadata.egress_spec, DROP_PORT); | ||||
7 | } | ||||
8 | |||||
9 | action send_to_cpu() { | ||||
10 | modify_field(standard_metadata.egress_spec, CPU_PORT); | ||||
11 | } |