P4C
The P4 Compiler
Loading...
Searching...
No Matches
ebpfBackend.h
1/*
2 * SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
3 * Copyright 2013-present Barefoot Networks, Inc.
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef BACKENDS_EBPF_EBPFBACKEND_H_
9#define BACKENDS_EBPF_EBPFBACKEND_H_
10
11#include "ebpfObject.h"
12#include "ebpfOptions.h"
13#include "frontends/p4/evaluator/evaluator.h"
14#include "ir/ir.h"
15
16namespace P4::EBPF {
17
18void run_ebpf_backend(const EbpfOptions &options, const IR::ToplevelBlock *toplevel,
19 P4::ReferenceMap *refMap, P4::TypeMap *typeMap);
20
21} // namespace P4::EBPF
22
23#endif /* BACKENDS_EBPF_EBPFBACKEND_H_ */
Definition codeGen.cpp:14