class InterfaceAddresses
Defined at line 21133 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.
void InterfaceAddresses ()
void InterfaceAddresses (InterfaceAddresses && other)
const uint64_t & id ()
ID of the interface.
Defined at line 21140 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 21144 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 21149 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 21157 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 21166 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 21170 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 21175 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 21183 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 21192 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 21196 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 21201 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 21209 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 21219 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 21223 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 21229 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 21237 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 ()
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)