Back to 16 bit arithmetic

This commit is contained in:
Nico Schottelius 2019-07-16 12:06:26 +02:00
commit ecab110d7c
3 changed files with 54 additions and 56 deletions

View file

@ -100,7 +100,7 @@ header ipv4_t {
bit<13> fragOffset;
bit<8> ttl;
bit<8> protocol;
bit<16> hdrChecksum;
bit<16> checksum;
ipv4_addr_t src_addr;
ipv4_addr_t dst_addr;
}