diff --git a/p4src/checksums.p4 b/p4src/checksums.p4 index d456ab5..2de339f 100644 --- a/p4src/checksums.p4 +++ b/p4src/checksums.p4 @@ -21,18 +21,18 @@ control MyVerifyChecksum(inout headers hdr, inout metadata meta) { control MyComputeChecksum(inout headers hdr, inout metadata meta) { apply { - update_checksum_with_payload(meta.calc_icmp6_checksum, - { - hdr.ipv6.src_addr, /* 128 */ - hdr.ipv6.dst_addr, /* 128 */ - 16w0, /* 16 try implicit cast */ - hdr.ipv6.payload_length, /* 16 */ - 24w0, /* 24 0's */ - PROTO_ICMP6 /* 8 */ - }, - hdr.icmp6.checksum, - HashAlgorithm.csum16 - ); + // GRRRRR update_checksum_with_payload(meta.calc_icmp6_checksum, + // GRRRRR { + // GRRRRR hdr.ipv6.src_addr, /* 128 */ + // GRRRRR hdr.ipv6.dst_addr, /* 128 */ + // GRRRRR 16w0, /* 16 try implicit cast */ + // GRRRRR hdr.ipv6.payload_length, /* 16 */ + // GRRRRR 24w0, /* 24 0's */ + // GRRRRR PROTO_ICMP6 /* 8 */ + // GRRRRR }, + // GRRRRR hdr.icmp6.checksum, + // GRRRRR HashAlgorithm.csum16 + // GRRRRR ); } }