X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Frarp.h;h=ebd748ea4eab0fb3f94013a855d16c0ade3dcd92;hb=aa42cb71fa28a4f2c8b8cc0e691151f4ba19dbd9;hp=4e92d80a651225ca0bf666e3e554e1f11cc61c0a;hpb=8fa3d2b8161bb73b759c9db5c811c885ca5ec60c;p=u-boot diff --git a/net/rarp.h b/net/rarp.h index 4e92d80a65..ebd748ea4e 100644 --- a/net/rarp.h +++ b/net/rarp.h @@ -21,14 +21,12 @@ * MA 02111-1307 USA */ +#if defined(CONFIG_CMD_RARP) #ifndef __RARP_H__ #define __RARP_H__ -#ifndef __NET_H__ #include -#endif /* __NET_H__ */ - /**********************************************************************/ /* @@ -37,8 +35,11 @@ extern int RarpTry; +/* Process the receipt of a RARP packet */ +extern void rarp_receive(struct ip_udp_hdr *ip, unsigned len); extern void RarpRequest(void); /* Send a RARP request */ /**********************************************************************/ #endif /* __RARP_H__ */ +#endif