Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions windivert/src/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ impl<L: layer::WinDivertLayerTrait> WinDivertAddress<L> {
self.data.loopback()
}

/// Loopback setter
#[inline]
pub fn set_loopback(&mut self, value: bool) {
self.data.set_loopback(value)
}

/// Set to `true` for impostor packets, `false` otherwise.
#[inline]
pub fn impostor(&self) -> bool {
Expand Down
Loading