You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ethernet.h 512B

123456789101112131415161718192021
  1. #ifndef _GPXE_ETHERNET_H
  2. #define _GPXE_ETHERNET_H
  3. /** @file
  4. *
  5. * Ethernet protocol
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER );
  9. #include <stdint.h>
  10. extern void eth_init_addr ( const void *hw_addr, void *ll_addr );
  11. extern const char * eth_ntoa ( const void *ll_addr );
  12. extern int eth_mc_hash ( unsigned int af, const void *net_addr,
  13. void *ll_addr );
  14. extern int eth_eth_addr ( const void *ll_addr, void *eth_addr );
  15. extern struct net_device * alloc_etherdev ( size_t priv_size );
  16. #endif /* _GPXE_ETHERNET_H */