Packet Sniffer SDK DLL Edition

HNLBAdapter :: Properties :: LbAdpGetCalcCheckSum

 Previous Next

Return IP/TCP/UDP checksums caculation flag for Ethernet emulation mode.

Syntax:

BOOL __stdcall LbAdpGetCalcCheckSum(HANDLE hLbAdp);

Parameters:

hLbAdp

[in] HNLBAdapter object handle.

Return values:

If the function succeeds the return value will be the IP/TCP/UDP checksums caculation flag for Ethernet emulation mode.

Description:

Use LbAdpGetCalcCheckSum to get value of the HNLBAdapter.CalcCheckSum property. If the HNLBAdapter.CalcCheckSum is set to TRUE, then after successful opening of Loopback adapter in the Ethernet emulation mode HNLBAdapter object calculates checksums for IP/TCP/UDP packets.

To change HNLBAdapter.CalcCheckSum property value please use LbAdpSetCalcCheckSum function. Default value of this property is FALSE.

CalcCheckSum property may be used in the Ethernet emulation mode only (see HNLBAdapter.EthEmulation[Get/Set]).
See also:HNLBAdapter, LbAdpSetCalcCheckSum, LbAdpGetEthEmulation, LbAdpSetEthEmulation