template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 692 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::InstalledIpRoutine 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::IpInstallationHook & hook ()
The hook on which the routine is installed.
* 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 `FORWARDING` hook occurs for incoming traffic that is
destined for another node.
* The `LOCAL_EGRESS` hook occurs for locally-generated
traffic before a final 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::IpInstallationHook elem)
The hook on which the routine is installed.
* 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 `FORWARDING` hook occurs for incoming traffic that is
destined for another node.
* The `LOCAL_EGRESS` hook occurs for locally-generated
traffic before a final 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::InstalledIpRoutine, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_filter::wire::InstalledIpRoutine>> && frame)