blob: 8649da0b1e7d898c148d6fcc0648dbe19206d0bd [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
Carmelo Casconefc3776d2017-08-21 23:17:22 +02005action drop() {
Carmelo Cascone4f011022017-06-05 01:41:02 -04006 modify_field(standard_metadata.egress_spec, DROP_PORT);
7}
8
9action send_to_cpu() {
10 modify_field(standard_metadata.egress_spec, CPU_PORT);
11}