class EndpointConfig
Defined at line 668 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
Configuration used to create an endpoint.
Public Methods
void EndpointConfig (Storage_ storage)
void EndpointConfig (uint16_tmtu,::fidl::Box< ::fuchsia_net::MacAddress>mac,::fuchsia_hardware_network::PortClassport_class,boolchecksum_offload)
void EndpointConfig ()
Default constructs a |EndpointConfig| only if all of its members are default constructible.
Defined at line 678 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
void EndpointConfig (EndpointConfig && )
Defined at line 681 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
void EndpointConfig (const EndpointConfig & other)
EndpointConfig & mtu (uint16_t value)
Fake ethernet mtu.
const ::fidl::Box< ::fuchsia_net::MacAddress> & mac ()
Fake ethernet mac address, if not provided will be set to randomized local mac,
using endpoint name as seed.
::fidl::Box< ::fuchsia_net::MacAddress> & mac ()
Fake ethernet mac address, if not provided will be set to randomized local mac,
using endpoint name as seed.
EndpointConfig & mac (::fidl::Box< ::fuchsia_net::MacAddress> value)
Fake ethernet mac address, if not provided will be set to randomized local mac,
using endpoint name as seed.
EndpointConfig & operator= (EndpointConfig && )
Defined at line 682 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
EndpointConfig & operator= (const EndpointConfig & other)
bool operator== (const EndpointConfig & other)
bool operator!= (const EndpointConfig & other)
uint16_t mtu ()
Fake ethernet mtu.
uint16_t & mtu ()
Fake ethernet mtu.
::fuchsia_hardware_network::PortClass port_class ()
Port class of the endpoint.
::fuchsia_hardware_network::PortClass & port_class ()
Port class of the endpoint.
EndpointConfig & port_class (::fuchsia_hardware_network::PortClass value)
Port class of the endpoint.
bool checksum_offload ()
Simulate hardware checksum offloading. Transport-layer checksums are
neither computed nor verified.
Note: this does not simulate the actual hardware offloading logic so
packets may be sent with invalid checksums. This property should be set
on both the sender and receiver to avoid dropped packets.
bool & checksum_offload ()
Simulate hardware checksum offloading. Transport-layer checksums are
neither computed nor verified.
Note: this does not simulate the actual hardware offloading logic so
packets may be sent with invalid checksums. This property should be set
on both the sender and receiver to avoid dropped packets.
EndpointConfig & checksum_offload (bool value)
Simulate hardware checksum offloading. Transport-layer checksums are
neither computed nor verified.
Note: this does not simulate the actual hardware offloading logic so
packets may be sent with invalid checksums. This property should be set
on both the sender and receiver to avoid dropped packets.
void EndpointConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits