Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis

This commit is contained in:
Nico Schottelius 2019-07-23 15:17:58 +02:00
commit 5a41963850
2 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,6 @@
/* -*- P4_16 -*- */ /* -*- P4_16 -*- */
#ifndef DEPARSERS_P4 #ifndef DEPARSERS_P4
#define DEPARSERS_P4 #define DEPARSERS_P4
apply { apply {
/* always */ /* always */
packet.emit(hdr.ethernet); packet.emit(hdr.ethernet);

View File

@ -144,9 +144,13 @@ control TopDeparser(packet_out packet,
// inout sume_metadata_t sume_metadata) { // inout sume_metadata_t sume_metadata) {
apply { // apply {
packet.emit(hdr.ethernet); // packet.emit(hdr.ethernet);
} // }
#include "deparser.p4"
} }
/******************************************************************************** /********************************************************************************