Crate fidl_fuchsia_net_dhcp_ext

Source
Expand description

Extensions for types in the fidl_fuchsia_net_dhcp crate.

Modules§

testutil
Contains types used when testing the DHCP client.

Structs§

Address
An IPv4 address acquired by the DHCP client.
Configuration
Configuration acquired by the DHCP client.

Enums§

Error
Domain errors for this crate.

Constants§

DEFAULT_ADDR_PREFIX
The default subnet used as the destination while populating a fuchsia.net.routes.RouteV4 while applying newly-discovered routers.

Traits§

ClientExt
Extension trait on fidl_fuchsia_net_dhcp::ClientProxy.
ClientProviderExt
Extension trait on fidl_fuchsia_net_dhcp::ClientProviderProxy.

Functions§

apply_new_routers
Applies a new set of routers
configuration_stream
Produces a stream of acquired DHCP configuration by executing the hanging get on the provided DHCP client proxy.
default_new_client_params
The default fnet_dhcp::NewClientParams.
merged_configuration_stream
Produces a stream that merges together the configuration hanging get and the fnet_dhcp::ClientEvent::OnExit terminal event. The client will be shut down when shutdown_future completes.