syntax correct
This commit is contained in:
parent
60a84af033
commit
decb0c516d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
|
||||||
{
|
{
|
||||||
hdr.ipv6.src_addr, /* 128 */
|
hdr.ipv6.src_addr, /* 128 */
|
||||||
hdr.ipv6.dst_addr, /* 128 */
|
hdr.ipv6.dst_addr, /* 128 */
|
||||||
meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
|
(bit<32>) hdr.ipv6.payload_length,
|
||||||
24w0, /* 24 0's */
|
24w0, /* 24 0's */
|
||||||
PROTO_ICMP6 /* 8 */
|
PROTO_ICMP6 /* 8 */
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue