Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
a8cf59e03acad9f591785ee3dcfd3678416536f5
/
.
/
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
);
}