This commit is contained in:
Nico Schottelius 2019-04-11 10:11:57 +02:00
parent e26c348e71
commit c082106338

View file

@ -100,7 +100,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
// UDP header
hdr.udp.src_port,
hdr.udp.dst_port,
hdr.udp.payload_length,
hdr.udp.payload_length
},
hdr.udp.checksum,
HashAlgorithm.csum16
@ -118,7 +118,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
// UDP header
hdr.udp.src_port, /* 16 */
hdr.udp.dst_port, /* 16 */
hdr.udp.payload_length, /* 16 */
hdr.udp.payload_length /* 16 */
/* all: 372 */
},