Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
26130771d1a81c54e990464d141b1ef94ec00eae
/
.
/
tools
/
test
/
p4src
/
p4-14
/
include
/
actions.p4
blob: 8649da0b1e7d898c148d6fcc0648dbe19206d0bd [
file
] [
log
] [
blame
]
action set_egress_port
(
port
)
{
modify_field
(
standard_metadata
.
egress_spec
,
port
);
}
action drop
()
{
modify_field
(
standard_metadata
.
egress_spec
,
DROP_PORT
);
}
action send_to_cpu
()
{
modify_field
(
standard_metadata
.
egress_spec
,
CPU_PORT
);
}