|
|
|
@ -78,7 +78,7 @@ control MyIngress(inout headers hdr,
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
/* checksum trigger / content */ |
|
|
|
|
meta.do_cksum = 1; |
|
|
|
|
meta.task = TASK_CHECKSUM_ICMP6_NA; |
|
|
|
|
meta.cast_length = (bit<32>) hdr.ipv6.payload_length; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -93,7 +93,7 @@ control MyIngress(inout headers hdr,
|
|
|
|
|
|
|
|
|
|
hdr.icmp6.type = ICMP6_ECHO_REPLY; |
|
|
|
|
|
|
|
|
|
meta.do_cksum = 1; |
|
|
|
|
meta.task = TASK_CHECKSUM_ICMP6; |
|
|
|
|
meta.cast_length = (bit<32>) hdr.ipv6.payload_length; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|