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
2 changes: 2 additions & 0 deletions windivert/src/divert/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ impl WinDivert<layer::ReflectLayer> {
impl WinDivert<()> {
/// Maximum number of packets that can be captured/sent in a single batched operation
pub const MAX_BATCH: u8 = windivert_sys::WINDIVERT_BATCH_MAX as u8;
/// Maximum size of Windivert buffer
pub const MAX_PACKET_SIZE: usize = windivert_sys::WINDIVERT_MTU_MAX as usize;

/// Method that tries to uninstall WinDivert driver.
pub fn uninstall() -> WinResult<()> {
Expand Down
Loading