17#ifndef BACKENDS_UBPF_TARGET_H_
18#define BACKENDS_UBPF_TARGET_H_
20#include "backends/ebpf/ebpfObject.h"
21#include "backends/ebpf/target.h"
22#include "ubpfHelpers.h"
28class UBPFControlBodyTranslator;
38 cstring offsetVar)
const override;
51 UNUSED
cstring argName)
const override {};
53 cstring standardMetadata)
const;
57 cstring dataOffset(UNUSED
cstring base)
const override {
return ""_cs; }
58 cstring dataEnd(UNUSED
cstring base)
const override {
return ""_cs; }
59 cstring dataLength(UNUSED
cstring base)
const override {
return ""_cs; }
60 cstring dropReturnCode()
const override {
return "0"_cs; }
61 cstring abortReturnCode()
const override {
return "1"_cs; }
62 cstring forwardReturnCode()
const override {
return "1"_cs; }
63 cstring sysMapPath()
const override {
return ""_cs; }
64 cstring packetDescriptorType()
const override {
return "void"_cs; }
Definition ebpf/codeGen.h:33
Definition ebpf/target.h:44
Definition ubpf/target.h:30
Definition sourceCodeBuilder.h:29