s/bool/bit/

This commit is contained in:
Nico Schottelius 2019-03-06 13:51:45 +01:00
parent 6dc5f34d43
commit e9b08d638c
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ struct metadata {
task_t task;
bit<16> tcp_length;
bit<32> cast_length;
bool do_cksum;
bit<1> do_cksum;
}
#endif

View file

@ -62,7 +62,7 @@ control MyIngress(inout headers hdr,
hdr.icmp6.type = ICMP6_ECHO_REPLY;
meta.do_cksum = true;
meta.do_cksum = 1;
//meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
}