added a simple register example

This commit is contained in:
Antonin Bas
2015-11-12 10:40:43 -08:00
parent a1c21604d4
commit ca39826949
6 changed files with 205 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ included:
packet, encapsulate it and send it to a special port.
- `meter`: how to use indirect meters in P4.
- `TLV_parsing`: how to parse IPv4 options
- `register`: how to use registers in P4 and read / write the state from the
control plane
All examples are orgranized the same way, with a `p4src` directory containing
the P4 source code, and a `README` file describing the P4 program and explaining