Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis
This commit is contained in:
commit
5a41963850
2 changed files with 7 additions and 4 deletions
|
@ -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);
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/********************************************************************************
|
/********************************************************************************
|
||||||
|
|
Loading…
Add table
Reference in a new issue