Struct windivert_sys::address::WINDIVERT_DATA_NETWORK
source · #[repr(C)]pub struct WINDIVERT_DATA_NETWORK {
pub interface_id: u32,
pub subinterface_id: u32,
}Expand description
Represents the associated data recieved using WinDivertLayer::Network
Fields§
§interface_id: u32Interface index on whick the packet arrived (for inbound packets) or will be sent (for outbound packets).
subinterface_id: u32The sub-interface index for interface_id
Trait Implementations§
source§impl Clone for WINDIVERT_DATA_NETWORK
impl Clone for WINDIVERT_DATA_NETWORK
source§fn clone(&self) -> WINDIVERT_DATA_NETWORK
fn clone(&self) -> WINDIVERT_DATA_NETWORK
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 Debug for WINDIVERT_DATA_NETWORK
impl Debug for WINDIVERT_DATA_NETWORK
source§impl Default for WINDIVERT_DATA_NETWORK
impl Default for WINDIVERT_DATA_NETWORK
source§fn default() -> WINDIVERT_DATA_NETWORK
fn default() -> WINDIVERT_DATA_NETWORK
Returns the “default value” for a type. Read more