mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
net: cosmetic: Un-typedef ARP_t
Remove typedef and lower-case letters Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
@@ -254,8 +254,7 @@ struct ip_udp_hdr {
|
||||
/*
|
||||
* Address Resolution Protocol (ARP) header.
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
struct arp_hdr {
|
||||
ushort ar_hrd; /* Format of hardware address */
|
||||
# define ARP_ETHER 1 /* Ethernet hardware address */
|
||||
ushort ar_pro; /* Format of protocol address */
|
||||
@@ -280,7 +279,7 @@ typedef struct
|
||||
uchar ar_tha[]; /* Target hardware address */
|
||||
uchar ar_tpa[]; /* Target protocol address */
|
||||
#endif /* 0 */
|
||||
} ARP_t;
|
||||
};
|
||||
|
||||
#define ARP_HDR_SIZE (8+20) /* Size assuming ethernet */
|
||||
|
||||
|
Reference in New Issue
Block a user