Method ITcIoArpPingProtocolRecv:ArpReply

Callback function that is invoked when an ArpReply message is received.

Syntax

HRESULT TCOMAPI ArpReply(ULONG ipAddr, ETHERNET_ADDRESS macAddr, ETYPE_VLAN_HEADER* pVlan=0) 

Method ITcIoArpPingProtocolRecv:ArpReply 1: Return value

Type

Description

HRESULT

Indicates success and must be provided accordingly by the implemented module. If this is not S_OK, the response continues to be transferred to the operating system.

Parameter

Name

Type

Description

ipAddr

ULONG

The IP address of the search.

macAddr

ETHERNET_ADDRESS

Determined MAC address.

pVlan

ETYPE_VLAN_HEADER*

ETYPE_VLAN_HEADER structure, see below.

The VLAN header represents information about the VLAN.

typedef struct _ETYPE_VLAN_HEADER
{
USHORT VLanType;
unsigned short VLanIdH   : 4;
unsigned short reserved1 : 1;
unsigned short Priority  : 3;
unsigned short VLanIdL   : 8;
} ETYPE_VLAN_HEADER, *PETYPE_VLAN_HEADER;