[P4-dev] varbit

Wallas Fróes wallasync at gmail.com
Wed Jun 7 22:07:58 EDT 2017


I am with a doubt. I am creating a header within of the switch and in this
header I create a variable field using the "varbit".
 So I create a field that will receive a value to will define the fixed
lenght for the variable field.

The issue is, how do I do to atribute the value of the fixed field to the
variable field? and how build  this header, and put it into the package
and, lastly, forward the package to the out port.


Wallas Fróes
Information Security in Computer Networks
Computer Engineer
Cel: (77) 8841-0762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170607/3b9da556/attachment-0002.html>

More information about the P4-dev mailing list