class InterfaceAddresses
Defined at line 21075 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
Holds information about an interface and its addresses.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const uint64_t & id ()
ID of the interface.
Defined at line 21082 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool has_id ()
Defined at line 21086 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
uint64_t * mutable_id ()
ID of the interface.
Defined at line 21091 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void clear_id ()
Defined at line 21099 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::std::string & name ()
Name of the interface.
Defined at line 21108 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool has_name ()
Defined at line 21112 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::std::string * mutable_name ()
Name of the interface.
Defined at line 21117 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void clear_name ()
Defined at line 21125 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::std::vector< ::fuchsia::net::Subnet> & addresses ()
All addresses currently assigned to the interface.
Defined at line 21134 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool has_addresses ()
Defined at line 21138 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::std::vector< ::fuchsia::net::Subnet> * mutable_addresses ()
All addresses currently assigned to the interface.
Defined at line 21143 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void clear_addresses ()
Defined at line 21151 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::fuchsia::posix::socket::InterfaceFlags & interface_flags ()
Contains the interface flags, as returned by the SIOCGIFFLAGS ioctl
operation.
Defined at line 21161 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool has_interface_flags ()
Defined at line 21165 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::InterfaceFlags * mutable_interface_flags ()
Contains the interface flags, as returned by the SIOCGIFFLAGS ioctl
operation.
Defined at line 21171 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void clear_interface_flags ()
Defined at line 21179 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
InterfaceAddresses & set_id (uint64_t _value)
InterfaceAddresses & set_name (::std::string _value)
InterfaceAddresses & set_addresses (::std::vector< ::fuchsia::net::Subnet> _value)
InterfaceAddresses & set_interface_flags (::fuchsia::posix::socket::InterfaceFlags _value)
void InterfaceAddresses ()
void InterfaceAddresses (InterfaceAddresses && other)
void ~InterfaceAddresses ()
InterfaceAddresses & operator= (InterfaceAddresses && other)
::std::unique_ptr<InterfaceAddresses> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, InterfaceAddresses * _value, size_t _offset)
zx_status_t Clone (InterfaceAddresses * _result)