Bitwidth change / adjust
This commit is contained in:
parent
8448e5121b
commit
bc63f5edcf
2 changed files with 2 additions and 9 deletions
|
|
@ -229,11 +229,4 @@ MyDeparser()
|
|||
) main;
|
||||
|
||||
|
||||
/* set tcp header valid after modifying it -- keep this in mind*/
|
||||
// hdr.tcp.setValid();
|
||||
|
||||
|
||||
// hdr.cpu.srcAddr = hdr.ethernet.srcAddr;
|
||||
// hdr.cpu.ingress_port = (bit<16>)meta.ingress_port;
|
||||
|
||||
// truncate((bit<32>)22); //ether+cpu header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue