Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
589b899fc3d10d6aa4c0ad1f69914a85ea0c71ab
/
.
/
tools
/
test
/
p4src
/
p4-14
/
include
/
actions.p4
blob: a8693e290cbdc2144aed1e7d04d242d103e44242 [
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
);
}