Refactor #n: go back to generic entry point, use if in apply{}

This commit is contained in:
Nico Schottelius 2019-03-30 14:59:46 +01:00
commit f32ad44e0b
6 changed files with 210 additions and 79 deletions

View file

@ -179,6 +179,12 @@ struct metadata {
port_t ingress_port;
task_t task;
task_t switch_task;
/* migrate tasks to bool */
bool chk_icmp6_na_ns;
bool chk_icmp6;
bool chk_icmp;
bit<16> tcp_length;
bit<32> cast_length;
table_t table_id;