template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2402 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::Masquerade Build ()

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

bool has_src_port ()
void clear_src_port ()

Clears the src_port field.

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

O(number_of_fields) complexity.

::fuchsia_net_filter::wire::PortRange & src_port ()

The optional range of source ports used to rewrite the packet.

The source port will be rewritten if necessary to ensure the

packet's flow does not conflict with an existing tracked connection.

Note that the source port may be rewritten whether or not this range

is specified.

If specified, this overrides the default behavior and restricts the

range of possible values to which the source port can be rewritten.

BuilderImpl & src_port (::fuchsia_net_filter::wire::PortRange elem)

The optional range of source ports used to rewrite the packet.

The source port will be rewritten if necessary to ensure the

packet's flow does not conflict with an existing tracked connection.

Note that the source port may be rewritten whether or not this range

is specified.

If specified, this overrides the default behavior and restricts the

range of possible values to which the source port can be rewritten.

Protected Methods

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

Records