Struct windivert::address::WinDivertNetworkData[][src]

pub struct WinDivertNetworkData<'a> { /* fields omitted */ }
Expand description

Extra address data for Network packets

Implementations

Timestamp of the event. Uses same clock as QueryPerformanceCounter()

Type of captured event

The handle’s layer

Set to true if the event was sniffed (i.e., not blocked), false otherwise

Set to true for outbound packets/event, false for inbound or otherwise

Outbound setter

Set to true for loopback packets, false otherwise

Set to true for impostor packets, false otherwise.

Impostor setter

Set to true for IPv6 packets/events, false otherwise

Set to true if the IPv4 checksum is valid, false otherwise.

IPv4 checksum setter

Set to true if the TCP checksum is valid, false otherwise.

TCP checksum setter

Set to true if the UDP checksum is valid, false otherwise.

UDP checksum setter

The interface index on which the packet arrived (for inbound packets), or is to be sent (for outbound packets)

Interface index setter

The sub-interface index for interface_id()

Sub interface index setter

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.