Struct netlink_packet_route::rtnl::link::nlas::InetDevConfBuffer
source · pub struct InetDevConfBuffer<T> { /* private fields */ }
Implementations§
source§impl<T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn forwarding(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn mc_forwarding(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn accept_redirects(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn secure_redirects(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn send_redirects(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn accept_source_route(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn bootp_relay(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn log_martians(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn force_igmp_version(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_announce(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_ignore(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn promote_secondaries(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_accept(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn arp_notify(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn accept_local(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn proxy_arp_pvlan(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn route_localnet(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn igmpv2_unsolicited_report_interval(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn igmpv3_unsolicited_report_interval(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn ignore_routes_with_linkdown(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn drop_unicast_in_l2_multicast(&self) -> i32
source§impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<'a, T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn drop_gratuitous_arp(&self) -> i32
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<'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)
source§impl<T: AsRef<[u8]>> InetDevConfBuffer<T>
impl<T: AsRef<[u8]>> InetDevConfBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations§
source§impl<T: Clone> Clone for InetDevConfBuffer<T>
impl<T: Clone> Clone for InetDevConfBuffer<T>
source§fn clone(&self) -> InetDevConfBuffer<T>
fn clone(&self) -> InetDevConfBuffer<T>
Returns a copy 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<T: Debug> Debug for InetDevConfBuffer<T>
impl<T: Debug> Debug for InetDevConfBuffer<T>
source§impl<T: AsRef<[u8]>> Parseable<InetDevConfBuffer<T>> for InetDevConf
impl<T: AsRef<[u8]>> Parseable<InetDevConfBuffer<T>> for InetDevConf
source§fn parse(buf: &InetDevConfBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &InetDevConfBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.