Packet Sniffer SDK DLL Edition

HNAdapter Methods

 Previous Next

Please see HNAdapter functions short descriptions below:

AdpAsyncRequest

Execute asynchronous NDIS request.

AdpAsyncSend

Sends a packet asynchronously.

AdpAsyncSendEx

Sends a packet asynchronously.

AdpCloseAdapter

Closes the network adapter.

AdpCreate

Creates an HNAdapter object.

AdpDestroy

Destroys an HNAdapter object.

AdpGetAcceptCount

Returns the number of the packets passed by the user-settable packet filter.

AdpGetAsyncStatistics

Updates network adapter statistics synchronously.

AdpGetLostCount

Returns the number of the packets lost by the PSSDK internal driver.

AdpGetMissed

Returns the number of the packets lost by the network adapter.

AdpGetOpenTime

Returns the time of the latest opening of the current network adapter.

AdpGetProcessCount

Returns the number of the packets transferred to the application.

AdpGetRecvCount

Returns the number of the packets received by the Packet Sniffer SDK internal driver from OS.

AdpGetRecvWithErr

Returns the number of the packets received by the network adapter with errors.

AdpGetRecvWithoutErr

Returns the number of the packets received by the network adapter without errors.

AdpGetRejectCount

Returns the number of packets rejected by the user-settable packet filter.

AdpGetTranWithErr

Returns the number of the packets transferred by the network adapter with errors.

AdpGetTranWithoutErr

Returns the number of the packets transferred by the network adapter without errors.

AdpIsOpened

Shows HNAdapter working status.

AdpOpenAdapter

Opens the network adapter.

AdpSyncRequest

Execute synchronous NDIS request.

AdpSyncSend

Sends a packet synchronously.

AdpSyncSendEx

Sends a packet synchronously.

AdpUpdateAdapterStatistics

Updates the network adapter statistics synchronously.

AdpUpdateUserStatistics

Updates the user-settable filter statistics synchronously.