Home
last modified time | relevance | path

Searched refs:hard_addr (Results 1 – 1 of 1) sorted by relevance

/aoo41x/main/sal/osl/unx/
H A Dutil.c45 static int osl_getHWAddr(const char *ifname, char* hard_addr);
56 char hard_addr[64]; in osl_getEthernetAddress() local
106 nRet = osl_getHWAddr(ifr->ifr_name,hard_addr); in osl_getEthernetAddress()
109 memcpy( pAddr , hard_addr, 6 ); in osl_getEthernetAddress()
123 static int osl_getHWAddr(const char *ifname, char* hard_addr) in osl_getHWAddr() argument
169 memset(hard_addr, 0, 32); in osl_getHWAddr()
177 memcpy(hard_addr,ifr.ifr_hwaddr.sa_data,8); in osl_getHWAddr()
179 memcpy(hard_addr,ifr.ifr_ifru.ifru_addr.sa_data,8); in osl_getHWAddr()
188 ret=osl_checkAddr(hard_addr); in osl_getHWAddr()

Completed in 13 milliseconds