pub struct NudConfiguration {
pub max_multicast_solicitations: Option<u16>,
pub max_unicast_solicitations: Option<u16>,
pub base_reachable_time: Option<i64>,
pub retrans_timer: Option<i64>,
/* private fields */
}Expand description
NudConfiguration for an interface.
This is scoped to IPv4 or IPv6 configuration by the Configuration type.
Fields§
§max_multicast_solicitations: Option<u16>The number of multicast solicitations before considering a neighbor unreachable.
Must be nonzero. ILLEGAL_ZERO_VALUE is returned on
[Control.SetConfiguration] otherwise.
max_unicast_solicitations: Option<u16>The number of unicast solicitations before considering a neighbor unreachable.
Must be nonzero.
base_reachable_time: Option<i64>A base duration for computing the random reachable time.
Reachable time is the duration for which a neighbor is considered reachable after a positive reachability confirmation is received. After this time, an entry will transition from REACHABLE to STALE state.
Referred to as “BaseReachableTime” by RFC 4861.
Must be greater than 0.
retrans_timer: Option<i64>The time between retransmissions of neighbor probes (Neighbor Solicitations for IPv6 and ARP requests for IPv4) to a neighbor when resolving the address or when probing the reachability of a neighbor as defined in [RFC 4861 section 6.3.2].
Referred to as “RetransTimer” by RFC 4861.
For IPv6, this value will not be used if the router has provided an override as per [RFC 4861 section 6.3.2]: The RetransTimer variable SHOULD be copied from the Retrans Timer field, if the received value is non-zero. Usually networks don’t advertise a non-zero RetransTimer, so this value will be used in those environments.
Must be greater than 0.
Trait Implementations§
Source§impl Clone for NudConfiguration
impl Clone for NudConfiguration
Source§fn clone(&self) -> NudConfiguration
fn clone(&self) -> NudConfiguration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NudConfiguration
impl Debug for NudConfiguration
Source§impl<D> Decode<NudConfiguration, D> for NudConfigurationwhere
D: ResourceDialect,
impl<D> Decode<NudConfiguration, D> for NudConfigurationwhere
D: ResourceDialect,
Source§fn new_empty() -> NudConfiguration
fn new_empty() -> NudConfiguration
Self. The specific value does not matter,
since it will be overwritten by decode.Source§impl Default for NudConfiguration
impl Default for NudConfiguration
Source§fn default() -> NudConfiguration
fn default() -> NudConfiguration
Source§impl<D> Encode<NudConfiguration, D> for &NudConfigurationwhere
D: ResourceDialect,
impl<D> Encode<NudConfiguration, D> for &NudConfigurationwhere
D: ResourceDialect,
Source§impl PartialEq for NudConfiguration
impl PartialEq for NudConfiguration
Source§fn eq(&self, other: &NudConfiguration) -> bool
fn eq(&self, other: &NudConfiguration) -> bool
self and other values to be equal, and is used by ==.Source§impl TypeMarker for NudConfiguration
impl TypeMarker for NudConfiguration
Source§type Owned = NudConfiguration
type Owned = NudConfiguration
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for NudConfiguration
impl ValueTypeMarker for NudConfiguration
Source§type Borrowed<'a> = &'a NudConfiguration
type Borrowed<'a> = &'a NudConfiguration
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<NudConfiguration as TypeMarker>::Owned,
) -> <NudConfiguration as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<NudConfiguration as TypeMarker>::Owned, ) -> <NudConfiguration as ValueTypeMarker>::Borrowed<'_>
&Self::Owned to Self::Borrowed.impl Persistable for NudConfiguration
impl StructuralPartialEq for NudConfiguration
Auto Trait Implementations§
impl Freeze for NudConfiguration
impl RefUnwindSafe for NudConfiguration
impl Send for NudConfiguration
impl Sync for NudConfiguration
impl Unpin for NudConfiguration
impl UnsafeUnpin for NudConfiguration
impl UnwindSafe for NudConfiguration
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
T to [Self]