class VerifiedProgram
Defined at line 432 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 439 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h
bool has_code ()
Defined at line 443 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 448 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h
void clear_code ()
Defined at line 456 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 465 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h
bool has_struct_access_instructions ()
Defined at line 469 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 474 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h
void clear_struct_access_instructions ()
Defined at line 482 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 492 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h
bool has_maps ()
Defined at line 496 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 502 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h
void clear_maps ()
Defined at line 510 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/hlcpp/fuchsia/ebpf/cpp/fidl.h