More minor API improvements.
- Revert batching for WinDivertHelperCalcChecksums(). All non-ParsePacket helper functions support a single packet only. This is much simpler. - WinDivertHelperCalcChecksums() now returns a simple BOOL. - More WinDivertHelper*() functions set the error code.
This commit is contained in:
+1
-1
@@ -520,7 +520,7 @@ extern WINDIVERTEXPORT BOOL WinDivertHelperFormatIPv6Address(
|
||||
/*
|
||||
* Calculate IPv4/IPv6/ICMP/ICMPv6/TCP/UDP checksums.
|
||||
*/
|
||||
extern WINDIVERTEXPORT UINT WinDivertHelperCalcChecksums(
|
||||
extern WINDIVERTEXPORT BOOL WinDivertHelperCalcChecksums(
|
||||
__inout VOID *pPacket,
|
||||
__in UINT packetLen,
|
||||
__out_opt WINDIVERT_ADDRESS *pAddr,
|
||||
|
||||
Reference in New Issue
Block a user