summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 63e25a012a..476124ad7e 100644
--- a/include/net.h
+++ b/include/net.h
@@ -76,6 +76,8 @@ struct eth_device {
struct param_d param_ethaddr;
struct device_d *dev;
+
+ struct list_head list;
};
int eth_register(struct eth_device* dev); /* Register network device */
@@ -422,5 +424,6 @@ void ethaddr_to_string(const unsigned char *enetaddr, char *str);
void eth_set_current(struct eth_device *eth);
struct eth_device *eth_get_current(void);
+struct eth_device *eth_get_byname(char *name);
#endif /* __NET_H__ */