rarp.h 608 B

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