blob: cb86f90f3d5173a09da261fc455d6201d26edfc0 [file] [log] [blame]
Carmelo Cascone837e6452017-07-19 20:35:22 -04001#ifndef CHECKSUMS
2#define CHECKSUMS
Yi Tseng21629932017-06-06 11:17:43 -07003#include "headers.p4"
4#include "metadata.p4"
5
Carmelo Cascone837e6452017-07-19 20:35:22 -04006control verifyChecksum(in headers_t hdr, inout metadata_t meta) {
Yi Tseng21629932017-06-06 11:17:43 -07007 apply {
8 // Nothing to do
9 }
10}
11
Carmelo Cascone837e6452017-07-19 20:35:22 -040012control computeChecksum(inout headers_t hdr, inout metadata_t meta) {
Yi Tseng21629932017-06-06 11:17:43 -070013 apply {
14 // Nothing to do
15 }
16}
Carmelo Cascone837e6452017-07-19 20:35:22 -040017
Yi Tseng21629932017-06-06 11:17:43 -070018#endif