--- libelwix/inc/elwix/anet.h 2013/06/03 22:50:00 1.4 +++ libelwix/inc/elwix/anet.h 2013/06/20 14:54:34 1.4.6.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: anet.h,v 1.4 2013/06/03 22:50:00 misho Exp $ +* $Id: anet.h,v 1.4.6.1 2013/06/20 14:54:34 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -84,6 +84,13 @@ typedef struct { * return: -1 interrupted by signal or 0 ok */ int e_usleep(unsigned int usec); +/* + * e_link_ntoa() - String ethernet address from link address + * + * @sdl = link address + * return: =NULL error or !=NULL ethernet address, should be e_free() + */ +char *e_link_ntoa(const struct sockaddr_dl *sdl); /* * e_ether_ntoa() - Convert ethernet address to string *