#[non_exhaustive]pub struct InternetOptions {Show 15 fields
pub path_mtu_discovery: Option<bool>,
pub ipv6_path_mtu_discovery: Option<bool>,
pub gre_path_mtu_discovery: Option<bool>,
pub ipip_path_mtu_discovery: Option<bool>,
pub ipv6_reject_zero_hop_limit: Option<bool>,
pub source_quench: Option<bool>,
pub icmpv4_rate_limit: Option<IcmpRateLimit>,
pub icmpv6_rate_limit: Option<IcmpRateLimit>,
pub tcp_drop_synfin_set: bool,
pub no_tcp_rfc1323: bool,
pub no_tcp_rfc1323_paws: bool,
pub no_tcp_reset: Option<String>,
pub tcp_mss: Option<String>,
pub source_port_upper_limit: Option<String>,
pub ipv6_duplicate_addr_detection_transmits: Option<String>,
}Expand description
The system internet-options configuration.
Options that come as an enable/disable pair (path-mtu-discovery and no-path-mtu-discovery)
are None when neither is written, Some(true) for the plain form and Some(false) for the
no- form.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path_mtu_discovery: Option<bool>§ipv6_path_mtu_discovery: Option<bool>§gre_path_mtu_discovery: Option<bool>§ipip_path_mtu_discovery: Option<bool>§ipv6_reject_zero_hop_limit: Option<bool>§source_quench: Option<bool>§icmpv4_rate_limit: Option<IcmpRateLimit>§icmpv6_rate_limit: Option<IcmpRateLimit>§tcp_drop_synfin_set: bool§no_tcp_rfc1323: bool§no_tcp_rfc1323_paws: bool§no_tcp_reset: Option<String>drop-all-tcp or drop-tcp-with-syn-only.
tcp_mss: Option<String>§source_port_upper_limit: Option<String>§ipv6_duplicate_addr_detection_transmits: Option<String>Trait Implementations§
Source§impl Clone for InternetOptions
impl Clone for InternetOptions
Source§impl Debug for InternetOptions
impl Debug for InternetOptions
impl Eq for InternetOptions
Source§impl PartialEq for InternetOptions
impl PartialEq for InternetOptions
impl StructuralPartialEq for InternetOptions
Auto Trait Implementations§
impl Forget for InternetOptions
impl Freeze for InternetOptions
impl Move for InternetOptions
impl RefUnwindSafe for InternetOptions
impl Send for InternetOptions
impl Sync for InternetOptions
impl Unpin for InternetOptions
impl UnsafeUnpin for InternetOptions
impl UnwindSafe for InternetOptions
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