Closed xljiulang closed 1 year ago
IfIdx
value cannot be calculated directly by WinDivert, but can be calculated using the Windows "IP Helper" API. The WinDivert dll could provide a wrapper, but >99% do not need this functionality so the additional dependency is not justified.
Hi @basil00 ! With your help, I have successfully wrapped this project as an asynchronous call library for the Dotnet platform. But in the use of upper-level projects, we often need more api like
WinDivertHelperCalcChecksums
to calculate and modifyWINDIVERT_ADDRESS
, such as recalculatingIfIdx
,OutboundFlag
,LoopbackFlag
when the IP changes, I hope these divert projects can provide api to complete these calculations.