aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r--slirp/slirp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 624a850906..a1f3139134 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -105,7 +105,7 @@ struct ethhdr {
unsigned short h_proto; /* packet type ID field */
};
-struct arphdr {
+struct slirp_arphdr {
unsigned short ar_hrd; /* format of hardware address */
unsigned short ar_pro; /* format of protocol address */
unsigned char ar_hln; /* length of hardware address */
@@ -124,7 +124,7 @@ struct arphdr {
#define ARP_TABLE_SIZE 16
typedef struct ArpTable {
- struct arphdr table[ARP_TABLE_SIZE];
+ struct slirp_arphdr table[ARP_TABLE_SIZE];
int next_victim;
} ArpTable;