update P4D2 and SIGCOMM2017 examples for new checksum API (#56)
This commit is contained in:
1 parent
ef64a2cfd8
commit
28a8414c58
24 files changed
+53
-61
No files matched your search
@@ -140,7 +140,7 @@ parser MyParser(packet_in packet,
|
||||
************ C H E C K S U M V E R I F I C A T I O N *************
|
||||
*************************************************************************/
|
||||
|
||||
control MyVerifyChecksum(in headers hdr, inout metadata meta) {
|
||||
control MyVerifyChecksum(inout headers hdr, inout metadata meta) {
|
||||
apply { }
|
||||
}
|
||||
|
||||
@@ -264,4 +264,4 @@ MyIngress(),
|
||||
MyEgress(),
|
||||
MyComputeChecksum(),
|
||||
MyDeparser()
|
||||
) main;
|
||||
) main;
|
||||
Reference in new issue
Block a user