Home
last modified time | relevance | path

Searched refs:p4action (Results 1 – 2 of 2) sorted by relevance

/external/bcc/src/cc/frontends/p4/compiler/
DebpfAction.py22 def __init__(self, p4action): argument
23 self.name = p4action.name
24 self.hliraction = p4action
56 def __init__(self, p4action, program): argument
57 super(EbpfAction, self).__init__(p4action)
58 assert isinstance(p4action, p4_action)
65 for i in range(0, len(p4action.signature)):
66 param = p4action.signature[i]
67 width = p4action.signature_widths[i]
71 argtype = ebpfScalarType.EbpfScalarType(p4action, width,
[all …]
DebpfProgram.py417 def getAction(self, p4action): argument
418 assert isinstance(p4action, p4_action)
420 if a.name == p4action.name:
423 newAction = ebpfAction.BuiltinAction(p4action)