Skip to content
Snippets Groups Projects
Select Git revision
  • d3e25d39d764a0804d289187c819b8c74ea4ba49
  • master default
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.1
  • v2014.0
  • v2013.0
10 results

labcomm_fd_writer.h

Blame
  • Forked from Anders Blomdell / LabComm
    Source project has a limited visibility.
    ethaddr.h 305 B
    #ifndef ETHADDR_H
    #define ETHADDR_H
    
    #include <net/ethernet.h>
    
    /* parse a string on the format 00:01:02:0d:0e:0f into a char array
     * the mac_addr argument must be at least six bytes.
     * returns 0 on success, or -1 on error
     */
    int parse_MAC_address(const char *str, struct ether_addr *mac_addr);
    #endif