class EndpointSetup
Defined at line 1980 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
Convenience struct for creating endpoints along with network setup.
Public Methods
void EndpointSetup (Storage_ storage)
void EndpointSetup (::std::string name, ::fidl::Box< ::fuchsia_netemul_network::EndpointConfig> config, bool link_up)
void EndpointSetup ()
Default constructs a |EndpointSetup| only if all of its members are default constructible.
Defined at line 1991 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
void EndpointSetup (EndpointSetup && )
Defined at line 1994 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
void EndpointSetup (const EndpointSetup & other)
EndpointSetup & operator= (EndpointSetup && )
Defined at line 1995 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
EndpointSetup & operator= (const EndpointSetup & other)
bool operator== (const EndpointSetup & other)
bool operator!= (const EndpointSetup & other)
const ::std::string & name ()
Endpoint name, must be unique in network context.
::std::string & name ()
Endpoint name, must be unique in network context.
EndpointSetup & name (::std::string value)
Endpoint name, must be unique in network context.
const ::fidl::Box< ::fuchsia_netemul_network::EndpointConfig> & config ()
Optional endpoint config, if not provided defaults will be used. Default
values are: mtu = 1500, mac = randomized, port_class = Virtual.
::fidl::Box< ::fuchsia_netemul_network::EndpointConfig> & config ()
Optional endpoint config, if not provided defaults will be used. Default
values are: mtu = 1500, mac = randomized, port_class = Virtual.
EndpointSetup & config (::fidl::Box< ::fuchsia_netemul_network::EndpointConfig> value)
Optional endpoint config, if not provided defaults will be used. Default
values are: mtu = 1500, mac = randomized, port_class = Virtual.
bool link_up ()
Start endpoint with link status up.
bool & link_up ()
Start endpoint with link status up.
EndpointSetup & link_up (bool value)
Start endpoint with link status up.
void EndpointSetup (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits