diff --git a/p4src/actions_egress.p4 b/p4src/actions_egress.p4 index 4d1bf92..52e05da 100644 --- a/p4src/actions_egress.p4 +++ b/p4src/actions_egress.p4 @@ -32,7 +32,7 @@ action controller_reply(task_t task) { action controller_reply(task_t task) { meta.task = task; meta.ingress_port = sume_metadata.src_port; - set_egress_port(4); /* port1 = 1, port2 = 2, port3=4 */ + set_egress_port(8); /* port1 = 1, port2 = 2, port3=4 */ } #endif /* _SUME_SWITCH_P4_ */ diff --git a/p4src/minip4_solution.p4 b/p4src/minip4_solution.p4 index 3ff4c12..f608507 100644 --- a/p4src/minip4_solution.p4 +++ b/p4src/minip4_solution.p4 @@ -88,21 +88,6 @@ control RealMain( mac_addr_t temp = hdr.ethernet.dst_addr; } - table lookup_table { - key = { - hdr.ethernet.dst_addr: exact; - } - - actions = { - swap_eth_addresses; - do_nothing; - send_to_port1; - send_to_all_ports; - } - size = 64; - default_action = send_to_port1; // test_port1() - } - apply { bit<17> tmp17 = 0; bool apply_v4networks = true; diff --git a/p4src/netpfga_nat64.p4 b/p4src/netpfga_nat64.p4 index 34b3348..c15572f 100644 --- a/p4src/netpfga_nat64.p4 +++ b/p4src/netpfga_nat64.p4 @@ -57,5 +57,3 @@ if(apply_v6networks == true) { v6_networks.apply(); } - - lookup_table.apply();