s/ .. -> do_cksum
This commit is contained in:
parent
8913cb8c3a
commit
6dc5f34d43
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ struct metadata {
|
||||||
task_t task;
|
task_t task;
|
||||||
bit<16> tcp_length;
|
bit<16> tcp_length;
|
||||||
bit<32> cast_length;
|
bit<32> cast_length;
|
||||||
bool clength;
|
bool do_cksum;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
|
@ -62,7 +62,7 @@ control MyIngress(inout headers hdr,
|
||||||
|
|
||||||
hdr.icmp6.type = ICMP6_ECHO_REPLY;
|
hdr.icmp6.type = ICMP6_ECHO_REPLY;
|
||||||
|
|
||||||
meta.calc_icmp6_checksum = true;
|
meta.do_cksum = true;
|
||||||
//meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
|
//meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue