ARPSendPkt Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
ARPSendPkt Function
C
BOOL ARPSendPkt(
    DWORD SrcIPAddr, 
    DWORD DestIPAddr, 
    BYTE op_req
);
Description

following is the workaround algorithm for the 11Mbps broadcast bugfix 

This function transmits and ARP request/reply to determine the hardware address of a given IP address (or) Announce self-address to all nodes in network. Extended for zeroconf protocol.

Preconditions

ARP packet is ready in the MAC buffer.

Parameters
Parameters 
Description 
SrcIPAddr 
The Source IP-address 
DestIPAddr 
The Destination IP-Address 
op_req 
Operation Request (ARP_REQ/ARP_RESP
Returns

TRUE - The ARP packet was generated properly FALSE - Not possible return value

Remarks

This API is to give control over AR-packet to external modules.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.