// branch on header validity
if (hdr.ipv4.isValid()) {
ipv4_lpm.apply();
// branch on table hit result
Copyright By PowCoder代写 加微信 powcoder
if (local_ip_table.apply().hit) {
send_to_cpu();
// branch on table action invocation
switch (table1.apply().action_run) {
action1: { table2.apply(); }
action2: { table3.apply(); }
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com