Struct windivert_sys::ChecksumFlags [−][src]
#[repr(transparent)]pub struct ChecksumFlags(_);
Expand description
Wrapper helper struct around u64.
The type uses transparent representation to enforce using the provided methods to set the values of the flags used by WinDivertHelperCalcChecksums()
The different flag values are:
no_ip
: Do not calculate the IPv4 checksum.no_icmp
: Do not calculate the ICMP checksum.no_icmpv6
: Do not calculate the ICMPv6 checksum.no_tcp
: Do not calculate the TCP checksum.no_udp
: Do not calculate the UDP checksum.
Implementations
Unsets no_ip
flag
Sets no_icmp
flag
Unsets no_icmp
flag
Sets no_icmpv6
flag
Unsets no_icmpv6
flag
Sets no_tcp
flag
Unsets no_tcp
flag
Sets no_udp
flag
Unsets no_udp
flag
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ChecksumFlags
impl Send for ChecksumFlags
impl Sync for ChecksumFlags
impl Unpin for ChecksumFlags
impl UnwindSafe for ChecksumFlags
Blanket Implementations
Mutably borrows from an owned value. Read more