1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

ng_netdev_eth: functions are not used

This commit is contained in:
Thomas Eichinger 2015-07-14 11:15:53 +02:00
parent 0c15084db5
commit b7f6f3c8fb

View File

@ -72,6 +72,8 @@ const ng_netdev_driver_t ng_netdev_eth_driver = {
_isr_event,
};
/* These functions are not used */
#if !(defined(__FreeBSD__) || defined(__MACH__))
/* internal function definitions */
static inline bool _is_addr_broadcast(uint8_t *addr)
{
@ -84,6 +86,7 @@ static inline bool _is_addr_multicast(uint8_t *addr)
/* source: http://ieee802.org/secmail/pdfocSP2xXA6d.pdf */
return (addr[0] & 0x01);
}
#endif
/* build Ethernet packet from pkt */
static int _marshall_ethernet(ng_netdev_eth_t *dev, uint8_t *buffer, ng_pktsnip_t *pkt);