template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_net_filter::SocketControl>|,

avoiding setting up a client.

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.