template <>

class WireWeakSyncClientImpl

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

Public Methods

::fidl::WireResult< ::fuchsia_net_filter::SocketControl::AttachEbpfProgram> AttachEbpfProgram (::fuchsia_net_filter::wire::AttachEbpfProgramOptions AttachEbpfProgramOptions)

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`.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::fuchsia_net_filter::SocketControl::DetachEbpfProgram> DetachEbpfProgram (::fuchsia_net_filter::wire::SocketHook hook)

Detaches eBPF program from the specified `hook`.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.