/*
    Copyright 2000 (c) by David Schweikert,
    Swiss Federal Institute of Technology,
    Computer Engineering and Networks Laboratory.
 
    TOPSY -- A Teachable Operating System.
             Implementation of a tiny and simple
             micro kernel for teaching purposes.
 
    For further information, please visit http://www.tik.ee.ethz.ch/~topsy
 
    This software is provided under the terms of the GNU General Public 
    Licence. A full copy of the GNU GPL is provided in the file COPYING 
    found in the development root of Topsy.
*/
/*
    File:                  $Source: /home/ruf/cvs_Topsy/cvs/Topsy/Net/old/NetConfigARP.h,v $
    Author(s):             
    Affiliation:           ETH Zuerich, TIK
    Version:               $Revision: 2922 $
    Creation Date:         
    Last Date of Change:   $Date: 2007-03-19 17:48:52 +0100 (Mon, 19 Mär 2007) $      by: $Author: baderma $
 
 
    $Log: NetConfigARP.h,v $
    Revision 1.3  2001/01/23 10:03:02  cjeker
    moved to Net/old
 
    Revision 1.2  2000/11/15 10:12:14  ruf
    Repository Reorganisation
 
    Revision 1.1  2000/03/31 17:50:34  gfa
    Merged with /Net from several term projects
 
*/
#ifndef _NETCONFIGARP_H
#define _NETCONFIGARP_H

#include <NetBuf.h>
#include <NetAttr.h>

void netcfgarpInit();

/* ETH <-> IPv4 */
int netcfgarpResolveETHIP(NetBuf buf, NetAttrs attrs);
void netcfgarpAddCacheETHIP(unsigned char *hw, unsigned char *ip);


#define NETCFGARP_CACHESIZE 10

#endif
