P4 (programming language): Difference between revisions

Content deleted Content added
m Update P4 version
m Update P4 Mailing Lists URL
Line 51:
===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 TTL field by one” or “copy the MAC address from the output port table into the outgoing packet header.” <ref>{{cite web |url=http://maillists.p4.org/pipermail/p4-dev_p4.org/ |title=P4 developersMailing mailingLists list|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===