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