--- libelwix/inc/elwix/anet.h 2013/06/03 22:50:00 1.4 +++ libelwix/inc/elwix/anet.h 2013/06/20 14:55:23 1.5 @@ -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.5 2013/06/20 14:55:23 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 *