From d9638539eb82b74d9efc7abb0d71b2deb68a2547 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 10 Aug 2017 12:34:23 +0200 Subject: some renamed in ethernet/rtl8139 don't try tp play with the ethernet CRCs, they belong to layer 2 OSI, the firmware of the network card rtl8139: computing packet size correctly (sizeof uint32_t of the CRC was part of the payload len) --- src/net/ethernet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/ethernet.h') diff --git a/src/net/ethernet.h b/src/net/ethernet.h index 3af053d..2731041 100644 --- a/src/net/ethernet.h +++ b/src/net/ethernet.h @@ -45,6 +45,6 @@ typedef struct { #pragma pack() #endif -char *network_mac_address_to_string( network_mac_address_t mac, char *buf, size_t buflen ); +char *ethernet_mac_address_to_string( network_mac_address_t mac, char *buf, size_t buflen ); #endif // ETHERNET_H -- cgit v1.2.3-54-g00ecf