mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Joe Hershberger](/assets/img/avatar_default.png)
Make a thorough pass through all variables and function names contained within rarp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
30 lines
608 B
C
30 lines
608 B
C
/*
|
|
* (C) Copyright 2000
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#if defined(CONFIG_CMD_RARP)
|
|
|
|
#ifndef __RARP_H__
|
|
#define __RARP_H__
|
|
|
|
#include <net.h>
|
|
|
|
/**********************************************************************/
|
|
/*
|
|
* Global functions and variables.
|
|
*/
|
|
|
|
extern int rarp_try;
|
|
|
|
/* Process the receipt of a RARP packet */
|
|
void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
|
|
void rarp_request(void); /* Send a RARP request */
|
|
|
|
/**********************************************************************/
|
|
|
|
#endif /* __RARP_H__ */
|
|
#endif
|