Lines Matching refs:hlir
4 from p4_hlir.hlir import p4_header_instance, p4_table, \
21 def __init__(self, name, hlir, isRouter, config): argument
24 assert isinstance(hlir, HLIR)
28 self.hlir = hlir
81 if len(self.hlir.p4_field_list_calculations) > 0:
84 self.hlir.p4_field_list_calculations.values()[0].name)
86 for h in self.hlir.p4_header_instances.values():
102 for p in self.hlir.p4_parse_states.values():
106 for a in self.hlir.p4_actions.values():
112 for c in self.hlir.p4_counters.values():
116 for t in self.hlir.p4_tables.values():
120 for n in self.hlir.p4_ingress_ptr.keys():
123 for n in self.hlir.p4_conditional_nodes.values():
127 self.egressEntry = self.hlir.p4_egress_ptr
128 self.deparser = ebpfDeparser.EbpfDeparser(self.hlir)