pub struct IpDeviceConfiguration {
pub gmp_enabled: bool,
pub unicast_forwarding_enabled: bool,
pub multicast_forwarding_enabled: bool,
}
Expand description
Configurations common to all IP devices.
Fields§
§gmp_enabled: bool
Is a Group Messaging Protocol (GMP) enabled for this device?
If gmp_enabled
is false, multicast groups will still be added to
multicast_groups
, but we will not inform the network of our membership
in those groups using a GMP.
Default: false
.
unicast_forwarding_enabled: bool
A flag indicating whether forwarding of unicast IP packets not destined for this device is enabled.
This flag controls whether or not packets can be forwarded from this device. That is, when a packet arrives at a device it is not destined for, the packet can only be forwarded if the device it arrived at has forwarding enabled and there exists another device that has a path to the packet’s destination, regardless of the other device’s forwarding ability.
Default: false
.
multicast_forwarding_enabled: bool
A flag indicating whether forwarding of multicast IP packets received on this device is enabled.
This flag controls whether or not packets can be forwarded from this device. That is, when a multicast packet arrives at this device, the multicast routing table will be consulted and the packet will be forwarded out of the matching route’s corresponding outbound devices (regardless of the outbound device’s forwarding ability). Enabling multicast forwarding does not disrupt local delivery: the packet will both be forwarded and delivered locally.
Default: false
.
Trait Implementations§
Source§impl AsMut<IpDeviceConfiguration> for Ipv4DeviceConfigurationAndFlags
impl AsMut<IpDeviceConfiguration> for Ipv4DeviceConfigurationAndFlags
Source§fn as_mut(&mut self) -> &mut IpDeviceConfiguration
fn as_mut(&mut self) -> &mut IpDeviceConfiguration
Source§impl AsMut<IpDeviceConfiguration> for Ipv6DeviceConfiguration
impl AsMut<IpDeviceConfiguration> for Ipv6DeviceConfiguration
Source§fn as_mut(&mut self) -> &mut IpDeviceConfiguration
fn as_mut(&mut self) -> &mut IpDeviceConfiguration
Source§impl AsMut<IpDeviceConfiguration> for Ipv6DeviceConfigurationAndFlags
impl AsMut<IpDeviceConfiguration> for Ipv6DeviceConfigurationAndFlags
Source§fn as_mut(&mut self) -> &mut IpDeviceConfiguration
fn as_mut(&mut self) -> &mut IpDeviceConfiguration
Source§impl AsRef<IpDeviceConfiguration> for Ipv4DeviceConfigurationAndFlags
impl AsRef<IpDeviceConfiguration> for Ipv4DeviceConfigurationAndFlags
Source§fn as_ref(&self) -> &IpDeviceConfiguration
fn as_ref(&self) -> &IpDeviceConfiguration
Source§impl AsRef<IpDeviceConfiguration> for Ipv6DeviceConfiguration
impl AsRef<IpDeviceConfiguration> for Ipv6DeviceConfiguration
Source§fn as_ref(&self) -> &IpDeviceConfiguration
fn as_ref(&self) -> &IpDeviceConfiguration
Source§impl AsRef<IpDeviceConfiguration> for Ipv6DeviceConfigurationAndFlags
impl AsRef<IpDeviceConfiguration> for Ipv6DeviceConfigurationAndFlags
Source§fn as_ref(&self) -> &IpDeviceConfiguration
fn as_ref(&self) -> &IpDeviceConfiguration
Source§impl Clone for IpDeviceConfiguration
impl Clone for IpDeviceConfiguration
Source§fn clone(&self) -> IpDeviceConfiguration
fn clone(&self) -> IpDeviceConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for IpDeviceConfiguration
impl Debug for IpDeviceConfiguration
Source§impl Default for IpDeviceConfiguration
impl Default for IpDeviceConfiguration
Source§fn default() -> IpDeviceConfiguration
fn default() -> IpDeviceConfiguration
Source§impl PartialEq for IpDeviceConfiguration
impl PartialEq for IpDeviceConfiguration
impl Copy for IpDeviceConfiguration
impl Eq for IpDeviceConfiguration
impl StructuralPartialEq for IpDeviceConfiguration
Auto Trait Implementations§
impl Freeze for IpDeviceConfiguration
impl RefUnwindSafe for IpDeviceConfiguration
impl Send for IpDeviceConfiguration
impl Sync for IpDeviceConfiguration
impl Unpin for IpDeviceConfiguration
impl UnwindSafe for IpDeviceConfiguration
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
Source§impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)