-,
This commit is contained in:
parent
e26c348e71
commit
c082106338
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue