P4 is a declarative language for expressing how packets are processed by the pipeline of a network forwarding element such as a switch, NIC, router or network function appliance. (P4 spec)
For more information, please see p4.org
By APM:
$ apm install language-p4