X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=net%2Frarp.h;h=ebd748ea4eab0fb3f94013a855d16c0ade3dcd92;hb=b977aa80b5e4d9dc6ea447e6a82dfd1492baf889;hp=4e92d80a651225ca0bf666e3e554e1f11cc61c0a;hpb=c2faf4f901c20193b7fb0a4859cae12bd21f057e;p=karo-tx-uboot.git 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