template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_net_filter::wire::InstalledNatRoutine Build ()

Build and return the table. The builder should not be used after this.

bool has_hook ()
void clear_hook ()

Clears the hook field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_net_filter::wire::NatInstallationHook & hook ()

The optional hook in which to install the routine. If a

routine is not installed on a particular hook, it can only

be reached from other routines.

* The `INGRESS` hook occurs for incoming traffic before a

routing decision has been made.

* The `LOCAL_INGRESS` hook occurs for incoming traffic that

is destined for the local host.

* The `LOCAL_EGRESS` hook occurs for locally-generated

traffic before a routing decision has been made.

* The `EGRESS` hook occurs for all outgoing traffic after a

routing decision has been made.

Required.

BuilderImpl & hook (::fuchsia_net_filter::wire::NatInstallationHook elem)

The optional hook in which to install the routine. If a

routine is not installed on a particular hook, it can only

be reached from other routines.

* The `INGRESS` hook occurs for incoming traffic before a

routing decision has been made.

* The `LOCAL_INGRESS` hook occurs for incoming traffic that

is destined for the local host.

* The `LOCAL_EGRESS` hook occurs for locally-generated

traffic before a routing decision has been made.

* The `EGRESS` hook occurs for all outgoing traffic after a

routing decision has been made.

Required.

bool has_priority ()
void clear_priority ()

Clears the priority field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

int32_t & priority ()

The priority of the routine relative to other routines

installed on the same hook.

Interpreted as `DEFAULT_ROUTINE_PRIORITY` if unset.

BuilderImpl & priority (int32_t elem)

The priority of the routine relative to other routines

installed on the same hook.

Interpreted as `DEFAULT_ROUTINE_PRIORITY` if unset.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_net_filter::wire::InstalledNatRoutine, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_filter::wire::InstalledNatRoutine>> && frame)

Records