rarp.h 608 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2000
  4. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  5. */
  6. #if defined(CONFIG_CMD_RARP)
  7. #ifndef __RARP_H__
  8. #define __RARP_H__
  9. #include <net.h>
  10. /**********************************************************************/
  11. /*
  12. * Global functions and variables.
  13. */
  14. extern int rarp_try;
  15. /* Process the receipt of a RARP packet */
  16. void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
  17. void rarp_request(void); /* Send a RARP request */
  18. /**********************************************************************/
  19. #endif /* __RARP_H__ */
  20. #endif