class VerifiedProgram

Defined at line 366 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

A verified eBPF program.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

VerifiedProgram & set_code (::std::vector<uint64_t> _value)
VerifiedProgram & set_struct_access_instructions (::std::vector< ::fuchsia::ebpf::StructAccess> _value)
VerifiedProgram & set_maps (::std::vector< ::fuchsia::ebpf::Map> _value)
void VerifiedProgram ()
void VerifiedProgram (VerifiedProgram && other)
void ~VerifiedProgram ()
VerifiedProgram & operator= (VerifiedProgram && other)
::std::unique_ptr<VerifiedProgram> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, VerifiedProgram * _value, size_t _offset)
zx_status_t Clone (VerifiedProgram * _result)
const ::std::vector<uint64_t> & code ()

Program instructions.

Defined at line 373 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

bool has_code ()

Defined at line 377 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

::std::vector<uint64_t> * mutable_code ()

Program instructions.

Defined at line 382 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

void clear_code ()

Defined at line 390 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

const ::std::vector< ::fuchsia::ebpf::StructAccess> & struct_access_instructions ()

List of instructions accessing struct fields.

Defined at line 399 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

bool has_struct_access_instructions ()

Defined at line 403 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

::std::vector< ::fuchsia::ebpf::StructAccess> * mutable_struct_access_instructions ()

List of instructions accessing struct fields.

Defined at line 408 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

void clear_struct_access_instructions ()

Defined at line 416 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

const ::std::vector< ::fuchsia::ebpf::Map> & maps ()

List of the maps used by the program. `code` may reference these maps

by their index in this array.

Defined at line 426 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

bool has_maps ()

Defined at line 430 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

::std::vector< ::fuchsia::ebpf::Map> * mutable_maps ()

List of the maps used by the program. `code` may reference these maps

by their index in this array.

Defined at line 436 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h

void clear_maps ()

Defined at line 444 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h