template <>

class NaturalClientImpl

Defined at line 264 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_net_filter::SocketControl::AttachEbpfProgram> AttachEbpfProgram (::fidl::Request< ::fuchsia_net_filter::SocketControl::AttachEbpfProgram> request)

Attaches the specified eBPF `program` to the specified `hook`.

May fail if another program is already attached (potentially by another

`SocketControl` instance).

*Warning:* Caller must check that the specified program is compatible

with the specified `hook`.

::fidl::internal::NaturalThenable< ::fuchsia_net_filter::SocketControl::DetachEbpfProgram> DetachEbpfProgram (const ::fidl::Request< ::fuchsia_net_filter::SocketControl::DetachEbpfProgram> & request)

Detaches eBPF program from the specified `hook`.