diff --git a/doc/plan.org b/doc/plan.org index 4cca82b..4a17fd0 100644 --- a/doc/plan.org +++ b/doc/plan.org @@ -6294,7 +6294,8 @@ Die Jul 23 13:34:54 CEST 2019 make: *** No targets specified and no makefile found. Stop. #+END_CENTER -*** the config writes madness +*** DONE the config writes madness + CLOSED: [2019-07-24 Wed 11:44] - step9 (sume simulation, the longest step) in the process calls "config_writes.py" - config_writes.py fails with a syntax error, as it is incomplete @@ -6343,7 +6344,7 @@ endtask #+END_CENTER -*** DONE the netpfga madness: Renaming variables breaks the compilation. +*** DONE the netpfga madness: Renaming variables breaks the compilation. !!!!!! CLOSED: [2019-07-24 Wed 09:33] #+BEGIN_CENTER @Xilinx_MaxPacketRegion(1024) @@ -6365,7 +6366,8 @@ endtask } #+END_CENTER -*** state names are fixed +*** DONE state names are fixed: needs to be "start" + CLOSED: [2019-07-24 Wed 11:44] #+BEGIN_CENTER make[1]: Entering directory '/home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/src' p4c-sdnet -o minip4.sdnet --sdnet_info .sdnet_switch_info.dat minip4_solution.p4 @@ -6387,7 +6389,6 @@ make[1]: Leaving directory '/home/nico/projects/P4-NetFPGA/contrib-projects/sume Makefile:31: recipe for target 'frontend' failed #+END_CENTER - *** TODO Further notes P4/master thesis - Cannot easily run P4 on notebook - changes to the system very invasive diff --git a/p4src/minip4_solution.p4 b/p4src/minip4_solution.p4 index 16e7660..74adcc8 100644 --- a/p4src/minip4_solution.p4 +++ b/p4src/minip4_solution.p4 @@ -68,6 +68,8 @@ control RealMain( inout digest_data_t digest_data, inout sume_metadata_t sume_metadata) { + #include "actions_nat64_generic.p4" + action swap_eth_addresses() { EthAddr_t temp = hdr.ethernet.dstAddr; hdr.ethernet.dstAddr = hdr.ethernet.srcAddr;