Uncomment region to check flow
This commit is contained in:
parent
b01e2de795
commit
74420d8bbd
1 changed files with 7 additions and 6 deletions
|
@ -340,13 +340,14 @@ control MyIngress(inout headers hdr,
|
||||||
exit; /* no further v6 processing */
|
exit; /* no further v6 processing */
|
||||||
}
|
}
|
||||||
v6_networks.apply(); /* egress / routing */
|
v6_networks.apply(); /* egress / routing */
|
||||||
} else if(hdr.ipv4.isValid()) {
|
|
||||||
if(nat46.apply().hit) { /* v4->v6 */
|
|
||||||
v6_networks.apply(); /* Now apply v6 egress */
|
|
||||||
exit; /* no further v4 processing */
|
|
||||||
}
|
|
||||||
v4_networks.apply(); /* routing, egress */
|
|
||||||
}
|
}
|
||||||
|
// else if(hdr.ipv4.isValid()) {
|
||||||
|
// if(nat46.apply().hit) { /* v4->v6 */
|
||||||
|
// v6_networks.apply(); /* Now apply v6 egress */
|
||||||
|
// exit; /* no further v4 processing */
|
||||||
|
// }
|
||||||
|
// v4_networks.apply(); /* routing, egress */
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue