[p4] refactor

This commit is contained in:
Nico Schottelius 2019-03-04 14:08:09 +01:00
parent 0fa70432d1
commit f2cd835ced

View file

@ -179,11 +179,11 @@ control MyIngress(inout headers hdr,
if(hdr.ipv6.isValid()) { if(hdr.ipv6.isValid()) {
/* FIXME: structure / use .hit to do logic */ /* FIXME: structure / use .hit to do logic */
ndp_answer.apply(); // ndp_answer.apply();
ndp.apply(); /* flood or if it is us - answer */ //ndp.apply(); /* flood or if it is us - answer */
v6_addresses.apply(); v6_addresses.apply();
v6_routing.apply(); v6_networks.apply();
} }
if(hdr.ipv4.isValid()) { if(hdr.ipv4.isValid()) {
v4_routing.apply(); v4_routing.apply();