#[repr(C)]pub struct otNetifMulticastAddress {
pub mAddress: otIp6Address,
pub mNext: *const otNetifMulticastAddress,
pub mAddressOrigin: u8,
pub mData: u8,
}Expand description
Represents an IPv6 network interface multicast address.
The mAddressOrigin field is set to either OT_ADDRESS_ORIGIN_THREAD if the multicast address is subscribed by
OpenThread core or OT_ADDRESS_ORIGIN_MANUAL if it is subscribed manually using otIp6SubscribeMulticastAddress().
The multicast addresses subscribed by OpenThread core include addresses such as
- link-local all nodes (
ff02::01), - realm-local all nodes (
ff03::01), - link-local all routers (
ff02::02), - realm-local all routers (
ff03::02), - realm-local all MPL forwarders (
ff03::fc), - link-local all Thread nodes,
- realm-local all Thread nodes.
Fields§
§mAddress: otIp6Address< The IPv6 multicast address.
mNext: *const otNetifMulticastAddress< A pointer to the next multicast address.
mAddressOrigin: u8< The multicast address origin.
mData: u8< Opaque data used by OpenThread core.
Trait Implementations§
Source§impl Clone for otNetifMulticastAddress
impl Clone for otNetifMulticastAddress
Source§fn clone(&self) -> otNetifMulticastAddress
fn clone(&self) -> otNetifMulticastAddress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for otNetifMulticastAddress
impl Default for otNetifMulticastAddress
impl Copy for otNetifMulticastAddress
Auto Trait Implementations§
impl Freeze for otNetifMulticastAddress
impl RefUnwindSafe for otNetifMulticastAddress
impl !Send for otNetifMulticastAddress
impl !Sync for otNetifMulticastAddress
impl Unpin for otNetifMulticastAddress
impl UnsafeUnpin for otNetifMulticastAddress
impl UnwindSafe for otNetifMulticastAddress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more