Struct windivert_sys::address::WINDIVERT_ADDRESS [−][src]
#[repr(C)]pub struct WINDIVERT_ADDRESS {
pub timestamp: i64,
pub union_field: WINDIVERT_ADDRESS_UNION_FIELD,
// some fields omitted
}Expand description
Base data type returned by recv and required by send
Most address fields are ignored by WinDivertSend(). The exceptions are Outbound (for WinDivertLayer::Network layer only), Impostor, IPChecksum, TCPChecksum, UDPChecksum, Network.interface_id and Network.subinterface_id.
Fields
timestamp: i64Timestamp indicating when the event occurred.
union_field: WINDIVERT_ADDRESS_UNION_FIELDUnion of the different data types associated with the possible layer values.
Implementations
Getter for the handle layer
Setter for the handle layer
Getter for the handle event
Setter for the handle event
Sniffed flag setter.
Outbound flag setter.
Loopback flag setter.
Impostor flag setter.
Set to true if the IPv4 checksum is valid.
IPv4 checksum flag setter.
Set to true if the TCP checksum is valid.
TCP checksum flag setter.
Set to true if the UDP checksum is valid.
UDP checksum flag setter.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WINDIVERT_ADDRESS
impl Send for WINDIVERT_ADDRESS
impl Sync for WINDIVERT_ADDRESS
impl Unpin for WINDIVERT_ADDRESS
impl UnwindSafe for WINDIVERT_ADDRESS
Blanket Implementations
Mutably borrows from an owned value. Read more
