Struct netlink_packet_route::rtnl::link::nlas::InetDevConfBuffer
source · [−]pub struct InetDevConfBuffer<T> { /* private fields */ }
Implementations
sourceimpl<T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn forwarding(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn mc_forwarding(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn accept_redirects(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn secure_redirects(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn send_redirects(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn accept_source_route(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn bootp_relay(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn log_martians(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn force_igmp_version(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_announce(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_ignore(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn promote_secondaries(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_accept(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_notify(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn accept_local(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn proxy_arp_pvlan(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn route_localnet(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn igmpv2_unsolicited_report_interval(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn igmpv3_unsolicited_report_interval(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn ignore_routes_with_linkdown(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn drop_unicast_in_l2_multicast(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn drop_gratuitous_arp(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_forwarding(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_mc_forwarding(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_proxy_arp(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_accept_redirects(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_secure_redirects(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_send_redirects(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_rp_filter(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_accept_source_route(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_bootp_relay(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_log_martians(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_arpfilter(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_medium_id(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_noxfrm(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_nopolicy(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_force_igmp_version(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_arp_announce(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_arp_ignore(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_promote_secondaries(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_arp_accept(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_arp_notify(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_accept_local(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_src_vmark(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_proxy_arp_pvlan(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_route_localnet(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_igmpv2_unsolicited_report_interval(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_igmpv3_unsolicited_report_interval(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_ignore_routes_with_linkdown(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_drop_unicast_in_l2_multicast(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> InetDevConfBuffer<T>
pub fn set_drop_gratuitous_arp(&mut self, value: i32)
sourceimpl<T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations
sourceimpl<T: Clone> Clone for InetDevConfBuffer<T>
impl<T: Clone> Clone for InetDevConfBuffer<T>
sourcefn clone(&self) -> InetDevConfBuffer<T>
fn clone(&self) -> InetDevConfBuffer<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for InetDevConfBuffer<T>
impl<T: Debug> Debug for InetDevConfBuffer<T>
sourceimpl<T: AsRef<[u8]>> Parseable<InetDevConfBuffer<T>> for InetDevConf
impl<T: AsRef<[u8]>> Parseable<InetDevConfBuffer<T>> for InetDevConf
sourcefn parse(buf: &InetDevConfBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &InetDevConfBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
sourceimpl<T: PartialEq> PartialEq<InetDevConfBuffer<T>> for InetDevConfBuffer<T>
impl<T: PartialEq> PartialEq<InetDevConfBuffer<T>> for InetDevConfBuffer<T>
sourcefn eq(&self, other: &InetDevConfBuffer<T>) -> bool
fn eq(&self, other: &InetDevConfBuffer<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InetDevConfBuffer<T>) -> bool
fn ne(&self, other: &InetDevConfBuffer<T>) -> bool
This method tests for !=
.
impl<T: Copy> Copy for InetDevConfBuffer<T>
impl<T: Eq> Eq for InetDevConfBuffer<T>
impl<T> StructuralEq for InetDevConfBuffer<T>
impl<T> StructuralPartialEq for InetDevConfBuffer<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for InetDevConfBuffer<T> where
T: RefUnwindSafe,
impl<T> Send for InetDevConfBuffer<T> where
T: Send,
impl<T> Sync for InetDevConfBuffer<T> where
T: Sync,
impl<T> Unpin for InetDevConfBuffer<T> where
T: Unpin,
impl<T> UnwindSafe for InetDevConfBuffer<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more