VBoxNetARP.cpp revision d1a00c93378091ef28db9d959b2d692cc8143a07
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * VBoxNetARP - IntNet ARP Client Routines.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * Copyright (C) 2009 Sun Microsystems, Inc.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * available from http://www.virtualbox.org. This file is free software;
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * you can redistribute it and/or modify it under the terms of the GNU
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * General Public License (GPL) as published by the Free Software
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
fa28a063d8ed660b9ae9aef07f417338b0efd8acvboxsync * additional information or have any questions.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync/*******************************************************************************
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync* Header Files *
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync*******************************************************************************/
a7a0244227b5c1fb4410f6a1fa6cf7a462eaf4c1vboxsync * Deal with ARP queries.
fa28a063d8ed660b9ae9aef07f417338b0efd8acvboxsync * @returns true if ARP.
a7a0244227b5c1fb4410f6a1fa6cf7a462eaf4c1vboxsync * @param pSession The support driver session.
a7a0244227b5c1fb4410f6a1fa6cf7a462eaf4c1vboxsync * @param hIf The internal network interface handle.
fa28a063d8ed660b9ae9aef07f417338b0efd8acvboxsync * @param pBuf The internal network interface buffer.
fa28a063d8ed660b9ae9aef07f417338b0efd8acvboxsync * @param pMacAddr Our MAC address.
fa28a063d8ed660b9ae9aef07f417338b0efd8acvboxsync * @param IPv4Addr Our IPv4 address.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncbool VBoxNetArpHandleIt(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, PCRTMAC pMacAddr, RTNETADDRIPV4 IPv4Addr)
if ( !pHdr