[P4-dev] Packet payload in P4_16

Huynhtu Dang huynh.tu.dang at usi.ch
Mon Apr 10 12:08:27 EDT 2017


Hello all,

There is a “payload” identifier that indicates the contents of the packet following packet headers in P4_14. It is needed to recompute UDP checksum [1]. I wonder how to do the same in P4_16. Has anyone done this?

[1] https://github.com/usi-systems/p4benchmark/blob/master/p4gen/template/parsers/parse_udp_checksum.txt#L12

Regards,
Tu Dang



More information about the P4-dev mailing list