]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/arp.h
karo: tx48: only print message about cpu_clk, if it was actually changed
[karo-tx-uboot.git] / net / arp.h
index b83533495e936ac1682e17df609d762bfc2b2160..bfd57e0105391bb21f00bb643fdb2a80f607c54b 100644 (file)
--- a/net/arp.h
+++ b/net/arp.h
@@ -1,40 +1,30 @@
 /*
- * (C) Copyright 2000
- * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ *     Copied from Linux Monitor (LiMon) - Networking.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ *     Copyright 1994 - 2000 Neil Russell.
+ *     (See License)
+ *     Copyright 2000 Roland Borde
+ *     Copyright 2000 Paolo Scaffardi
+ *     Copyright 2000-2002 Wolfgang Denk, wd@denx.de
  */
 
-
 #ifndef __ARP_H__
 #define __ARP_H__
 
-/**********************************************************************/
-/*
- *     Global functions and variables.
- */
+#include <common.h>
 
-extern int ArpTry;
+extern IPaddr_t        NetArpWaitPacketIP;
+/* MAC address of waiting packet's destination */
+extern uchar *NetArpWaitPacketMAC;
+extern int NetArpWaitTxPacketSize;
+extern ulong NetArpWaitTimerStart;
+extern int NetArpWaitTry;
 
-extern void ArpRequest (void); /* Send a ARP request */
-
-/**********************************************************************/
+void ArpInit(void);
+void ArpRequest(void);
+void arp_raw_request(IPaddr_t sourceIP, const uchar *targetEther,
+       IPaddr_t targetIP);
+void ArpTimeoutCheck(void);
+void ArpReceive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
 
 #endif /* __ARP_H__ */
-