Content deleted Content added
m →Actions |
|||
Line 68:
=====Actions=====
'''Actions''' in P4 describe packet field and [[metadata]] manipulations. In P4 context, metadata is information about a packet that is not directly derived from the parser, such as the input interface that the frame arrived on. English descriptions of an example action might be “decrement the IPv4 [[Time to live|TTL]] field by one” or “copy the MAC address from the output port table into the outgoing packet header.” <ref>{{cite web |url=http://lists.p4.org |title=P4 Mailing Lists |date=July 2015 |accessdate=15 July 2015}}</ref> P4 defines both standard metadata that must be provided by all targets as well as target-specific metadata, which is provided by the author of specific targets.
===Control Flow===
|