blob: a8693e290cbdc2144aed1e7d04d242d103e44242 [file] [log] [blame]
Carmelo Cascone4f011022017-06-05 01:41:02 -04001action set_egress_port(port) {
2 modify_field(standard_metadata.egress_spec, port);
3}
4
5action _drop() {
6 modify_field(standard_metadata.egress_spec, DROP_PORT);
7}
8
9action send_to_cpu() {
10 modify_field(standard_metadata.egress_spec, CPU_PORT);
11}